Skip to content

Instantly share code, notes, and snippets.

View bdsqqq's full-sized avatar
🎨

Igor Bedesqui bdsqqq

🎨
View GitHub Profile
@bdsqqq
bdsqqq / iMessage-codex-prompt.md
Created June 7, 2026 18:24 — forked from madebydia/iMessage-codex-prompt.md
iMessage Codex via BlueBubbles

Copy/paste this prompt into Codex on a Mac that can reach a BlueBubbles server. It describes the setup I want Codex to build and verify. Replace placeholders before running it.

Set up a private "iMessage Codex" bridge on this Mac.

Goal
- I want to text Codex over iMessage through BlueBubbles.
- Allowed inbound iMessages should be forwarded to Codex with no command prefix.

Reference: List of iOS App URL Scheme Names & Paths for Shortcuts

Author:

Saved on: 2021-03-19, 15:52

If you've ever customized your app icons or played around with Shortcuts (previously called Workflow), you probably know how important URL scheme names are. Nearly all iOS apps assign themselves one of these names, and you need to know them if you want to add custom icons to your home screen or create a Shortcuts workflow that opens an app on your iPhone up. Finding the URL scheme name, also known as a URI scheme, for a particular app is not easy. First, you have to download the IPA file for the app — a difficult task since the iTunes 12.7 update removed iOS apps from it. When you finally find the IPA, you have to turn it into a ZIP file, show the contents of the app package, then hunt for the specific PLIST file that contains the URL schemes. It's a lot of work.

This example

Durable Sessions and Reconstruction in Pi

This note explains how to think about durable state in Pi when the user navigates the session tree with /tree, starts a new session, resumes another session, or forks.

The short version:

  • Pi sessions are an append-only tree of entries with a movable leaf pointer.
  • /tree does not restart the extension runtime. It changes the active leaf and rebuilds the active conversation context.
  • If your extension keeps in-memory state, you are responsible for reconstructing it from durable session entries.
  • The central design decision is whether your state should be:
@bdsqqq
bdsqqq / Evergreen notes turn ideas into objects that you can manipulate.md
Last active January 19, 2026 22:32
agent skill design — learnings from weeks of iteration, broken skills, agent sprawl, and research
# axi-agent cluster: agent tree
filtered: SCSS → tailwind migration threads removed
time range: 2026-01-14 17:00 → 2026-01-15 10:38 UTC
---
[user (bdsqqq)](https://ampcode.com/threads/T-019bbdbe-59d3-752a-9c84-79fc06b775b4) — ROOT COORDINATOR - original axi-agent development thread (356 msgs)
└ INFRASTRUCTURE
└ [janet_fiddleshine](https://ampcode.com/threads/T-019bbde9-0161-743c-975e-0608855688d6) — Watchdog agent (1214 msgs)
// Modified version of component from https://craft.mxkaske.dev/post/fancy-multi-select
import { createContextScope, type Scope } from '@radix-ui/react-context';
import * as PopperPrimitive from '@radix-ui/react-popper';
import { createPopperScope } from '@radix-ui/react-popper';
import { Portal as PortalPrimitive } from '@radix-ui/react-portal';
import { Presence } from '@radix-ui/react-presence';
import { useControllableState } from '@radix-ui/react-use-controllable-state';
import { X } from 'lucide-react';
import * as React from 'react';
@bdsqqq
bdsqqq / vesper-dark.json
Last active October 29, 2025 18:45
Vesper theme for zed.dev
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Vesper",
"author": "Rauno Freiberg",
"themes": [
{
"name": "Vesper",
"appearance": "dark",
"style": {
"border": "#101010",
@bdsqqq
bdsqqq / progressbar.ts
Created January 23, 2024 17:03
quick ascii progressbar script
export function progressBar(
percent: number,
width: number,
charPalette: string[] = ["░", "▓", "█"]
) {
// figure out how much % each character will represent considering 100% = width
const charPercentValue = 100 / width;
// figure out how much of a % each character in the palette represents
// palette[0] will always mean 0% of the charPercentValue,
@bdsqqq
bdsqqq / settings.json
Created December 9, 2023 15:14
Vesper Overrides
// Plop these into your VSCode settings.json,
// can easily acces from the command palette
// then typing "Preferences: Open User Settings (JSON)"
"workbench.colorTheme": "Vesper",
// Overrides vesper theme start
"workbench.colorCustomizations": {
"editorGutter.addedBackground": "#A0A0A0",
"editorGutter.deletedBackground": "#A0A0A0",
"editorGutter.modifiedBackground": "#A0A0A0"
@bdsqqq
bdsqqq / tailwind.config.ts
Created December 6, 2023 16:42
tailwind animations plugin
/**
* Generates tailwindcss-animate compatible animation utilities from the keyframes defined in theme.keyframes.
*
* @see [tailwindcss-animate](https://github.com/jamiebuilds/tailwindcss-animate)
*/
const generateAnimationUtilitiesFromKeyframes = plugin(({ addUtilities, theme }) => {
function generateAnimationUtilities(keyframes) {
const animationUtilities = {};
Object.entries(keyframes).forEach(([animationName, animationKeyframes]) => {