@tabsmith/autocomplete-specs 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/codeburn.js +1 -0
- package/build/dsh.js +2 -0
- package/build/dynamic/index.js +1 -1
- package/build/gh.js +6 -37
- package/build/index.js +1 -1
- package/build/index.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var f=["today","week","30days","month","all","lifetime"],b=[{name:"all",description:"Every provider"},...[["amp","Amp"],["antigravity","Antigravity"],["claude","Claude"],["cline","Cline"],["cline-cli","Cline CLI"],["codewhale","CodeWhale"],["codebuff","Codebuff"],["codex","Codex"],["command-code","Command Code"],["copilot","Copilot"],["crush","Crush"],["cursor","Cursor"],["cursor-agent","Cursor Agent"],["dsh","DeepSeek Harness"],["devin","Devin"],["droid","Droid"],["forge","Forge"],["gemini","Gemini"],["goose","Goose"],["grokbot","Grok Bot"],["grok","Grok Build"],["hermes","Hermes Agent"],["ibm-bob","IBM Bob"],["kilo-code","KiloCode"],["kimi","Kimi"],["kimicode","Kimi Code"],["kiro","Kiro"],["lingtai-tui","LingTai TUI"],["mistral-vibe","Mistral Vibe"],["mux","Mux"],["omp","OMP"],["open-design","Open Design"],["openclaude","OpenClaude"],["openclaw","OpenClaw"],["opencode","OpenCode"],["pi","Pi"],["quickdesk","Quick Desktop"],["qwen","Qwen"],["vercel-gateway","Vercel AI Gateway"],["warp","Warp"],["zcode","ZCode"],["zed","Zed"],["zerostack","Zerostack"]].map(([n,i])=>({name:n,description:i}))],d=(n,i="Period")=>({name:["-p","--period"],description:`${i} (default: ${n})`,args:{name:"period",suggestions:f}}),t=(n,i)=>({name:n,description:i,args:{name:"date",description:"YYYY-MM-DD"}}),p=[t("--from","Start date"),t("--to","End date")],s={name:"--provider",description:"Filter by provider (default: all)",args:{name:"provider",suggestions:b}},o=[{name:"--project",description:"Show only projects matching name",isRepeatable:!0,args:{name:"name"}},{name:"--exclude",description:"Exclude projects matching name",isRepeatable:!0,args:{name:"name"}}],e=(n,i="--format")=>({name:i,description:`Output format (default: ${n[0]})`,args:{name:"format",suggestions:n}}),a={name:"--json",description:"Output as JSON"},u={name:"--no-color",description:"Disable ANSI colors"},l=[{name:"--route",description:"Filter by billing route (direct includes unknown)",args:{name:"route",suggestions:["direct","bedrock","openrouter","vertex"]}},{name:"--billing",description:"Filter by billing mode",args:{name:"mode",suggestions:["metered","subscription"]}}],y={name:"--refresh",description:"Auto-refresh interval in seconds (minimum 60; 0 to disable)",args:{name:"seconds",default:"60"}},g=(n,i)=>({name:n,description:i,options:[s,e(["tui","json"]),...o,y]}),r=n=>[d(n,"Analysis period"),...p,s],c=(n,i)=>[{name:"--remove",description:`Remove ${i}`,args:{name:n}},{name:"--list",description:`List configured ${i}s`}],m={name:"--dir",description:"Override the plugins directory (default: ~/.config/codeburn/plugins)",args:{name:"path",template:"folders"}},h=[{name:"--global",description:"Use ~/.claude/settings.json instead of the project"},{name:"--project",description:"Use <path>/.claude/settings.json",args:{name:"path",template:"folders"}}],v={name:"codeburn",description:"See where your AI coding tokens go - by task, tool, model, and project",subcommands:[{name:"report",description:"Interactive usage dashboard",options:[d("week","Starting period"),t("--day","Single day to review (YYYY-MM-DD, today, or yesterday)"),...p,s,e(["tui","json"]),...o,y]},{name:"share",description:"Securely share this device's usage with your other devices",args:{name:"action",isOptional:!0,suggestions:["status"]},options:[{name:"--port",description:"Port to listen on (default: 7777)",args:{name:"number"}},{name:"--pair",description:"Open a pairing window and print a PIN to add a device"},{name:"--always",description:"Keep sharing until stopped (default: stop after 10 min idle)"},e(["text","json"])]},{name:"devices",description:"Combined usage across your devices",args:[{name:"action",isOptional:!0,suggestions:[{name:"scan",description:"Find nearby devices"},{name:"add",description:"Pair a nearby device, or <host> --pin"},{name:"rm",description:"Remove a device by name"}]},{name:"target",isOptional:!0,description:"Host or device name"}],options:[{name:"--pin",description:"Pairing PIN shown on the device you are adding",args:{name:"pin"}},d("month"),{name:"--port",description:"Default port when adding a device (default: 7777)",args:{name:"number"}},e(["text","json"])]},{name:"identity",description:"Show this device identity for sharing",options:[e(["text","json"])]},{name:"overview",description:"Plain-text usage overview, copy-pasteable",options:[d("month"),...p,s,...o,u]},{name:"budget",description:"Set spend budgets and check current spend against them",options:[...["daily","weekly","monthly"].map(n=>({name:`--${n}`,description:`Set ${n} spend budget in the active display currency`,args:{name:"amount"}})),{name:"--list",description:"List configured spend budgets"},{name:"--remove",description:"Remove one budget",args:{name:"period",suggestions:["daily","weekly","monthly"]}},{name:"--check",description:"Check current spend and exit 1 if any budget is over"}]},{name:"web",description:"Open the local web dashboard in your browser",options:[d("today","Initial period"),...p,s,...o,{name:"--port",description:"Port to listen on (default: 4747, falls back if taken)",args:{name:"number"}},{name:"--no-open",description:"Do not open the browser"}]},{name:"status",description:"Compact status output (today + month)",options:[e(["terminal","menubar-json","json"]),{name:"--scope",description:"Usage scope for menubar-json (default: local)",args:{name:"scope",suggestions:["local","combined"]}},{name:"--combined-details",description:"Include per-device payloads in combined menubar-json"},s,...o,{name:"--period",description:"Primary period for menubar-json (default: today)",args:{name:"period",suggestions:f}},t("--day","Single day for menubar-json (YYYY-MM-DD, today, yesterday)"),...p,{name:"--days",description:"Comma-separated dates (YYYY-MM-DD) for multi-day selection",args:{name:"dates"}},{name:"--no-optimize",description:"Skip optimize findings (faster)"},{name:"--no-timeline",description:"Skip the granular timeline (faster)"}]},g("today","Today's usage dashboard"),g("month","This month's usage dashboard"),{name:"export",description:"Export usage data to CSV or JSON",options:[{...e(["csv","json"]),name:["-f","--format"]},{name:["-o","--output"],description:"Output file path",args:{name:"path",template:"filepaths"}},...p,s,...l,...o]},{name:"menubar",description:"Install and launch the menubar app on macOS and Windows",options:[{name:"--force",description:"Reinstall even if already installed"},{name:"--staged-msi",description:"Windows: install the staged CodeBurn.Menubar .msi",args:{name:"path",template:"filepaths"}},{name:"--uninstall",description:"Windows: remove CodeBurn Menubar"}]},{name:"update",description:"Update the global CLI, the menubar app and the desktop app",options:[{name:"--check",description:"Report what is out of date; change nothing"},{name:"--cli",description:"The global codeburn command"},{name:"--menubar",description:"The macOS menubar app"},{name:"--desktop",description:"The desktop app, via its own updater"},{name:"--all",description:"Every component (the default)"},{name:"--local",description:"With --check: no network"},{name:"--json",description:"One JSON object per line on stdout"}]},{name:"currency",description:"Set display currency",args:{name:"code",isOptional:!0,suggestions:["USD","EUR","GBP","JPY","CAD","AUD","INR","CNY"]},options:[{name:"--symbol",description:"Override the currency symbol",args:{name:"symbol"}},{name:"--reset",description:"Reset to USD"}]},{name:"import",description:"Replace local estimates with usage a tool exported itself",args:[{name:"tool",suggestions:["cursor"]},{name:"file",isOptional:!0,template:"filepaths"}],options:[t("--from","Start of the exported range (date, ISO time or epoch ms)"),t("--to","End of the exported range (date, ISO time or epoch ms)"),{name:"--remove",description:"Delete the imported usage"},{name:"--sync",description:"Download the export from cursor.com with the app's login"}]},{name:"model-alias",description:"Map a provider model name to a canonical one for pricing",args:[{name:"from",isOptional:!0},{name:"to",isOptional:!0}],options:[...c("from","alias"),e(["text","json"])]},{name:"price-override",description:"Override or add local model pricing (USD per 1M tokens)",args:{name:"model",isOptional:!0},options:[...["input","output","cache-read","cache-creation"].map(n=>({name:`--${n}`,description:`Price for ${n} tokens, in USD per 1,000,000 tokens`,args:{name:"usd-per-1M"}})),...c("model","price override"),e(["text","json"])]},{name:"model-savings",description:"Track a local model as savings against a paid baseline",args:[{name:"local",isOptional:!0},{name:"baseline",isOptional:!0}],options:c("local","savings mapping")},{name:"model-flat-rate",description:"Mark a model as subscription / flat-rate billed",args:{name:"model",isOptional:!0},options:c("model","flat-rate model")},{name:"proxy-path",description:"Mark a project directory as routed through a subscription proxy",args:{name:"path",isOptional:!0,template:"folders"},options:[...c("path","proxy path"),e(["text","json"])]},{name:"project",description:"Put a folder (and everything under it) in a repository project",args:[{name:"action",isOptional:!0,suggestions:[{name:"link",description:"Link a folder: link <folder> <project>"},{name:"unlink",description:"Unlink a folder: unlink <folder>"},{name:"links",description:"List folder links"}]},{name:"folder",isOptional:!0,template:"folders"},{name:"project",isOptional:!0}],options:[e(["text","json"])]},{name:"gateway-totals",description:"Include or exclude Vercel AI Gateway spend in headline totals",args:{name:"mode",isOptional:!0,suggestions:["include","exclude"]},options:[e(["text","json"])]},{name:"plan",description:"Show or configure a subscription plan for overage tracking",args:[{name:"action",isOptional:!0,suggestions:[{name:"set",description:"Set the plan you pay for"},{name:"reset",description:"Remove plan config (or one --provider)"}]},{name:"id",isOptional:!0,suggestions:["claude-max","claude-pro","cursor-pro","copilot-pro","google-ai-pro","custom","none"]}],options:[e(["text","json"]),{name:"--monthly-usd",description:"Monthly plan price in USD (for custom)",args:{name:"n"}},{name:"--credits",description:"Monthly AI credits (copilot custom plans)",args:{name:"n"}},{name:"--provider",description:"Provider scope",args:{name:"name",suggestions:["all","claude","codex","cursor","grok","copilot","antigravity"]}},{name:"--reset-day",description:"Day of month plan resets, 1-28 (default: 1)",args:{name:"n"}}]},{name:"optimize",description:"Find token waste and get exact fixes",options:[...r("30days"),e(["text","json"]),{name:"--json",description:"Alias for --format json"},{name:"--apply",description:"Interactively apply config-class fixes (undoable)"},{name:"--yes",description:"With --apply: apply every fix without prompting"},{name:"--dry-run",description:"With --apply: print the plan and exit"},{name:"--only",description:"With --apply: comma-separated finding ids",args:{name:"ids"}},{name:"--auto-revert",description:"Undo applied fixes that measured no reduction"},...o]},{name:"context",description:"Context token breakdown per session (experimental)",args:{name:"session",isOptional:!0},options:[{name:"--list",description:"List recent sessions to pick from"},{name:"--full",description:"Cover the whole history, not the post-compaction window"},a,{name:"--provider",description:"Session source (default: claude)",args:{name:"provider",suggestions:["claude","codex"]}}]},{name:"codex-tps",description:"Retrospective Codex generated-tokens/sec estimate",args:{name:"session",isOptional:!0},options:[a,{name:"--limit",description:"Number of recent checkpoints to scan (default: 10)",args:{name:"n"}},{name:"--watch",description:"Refresh continuously while Codex writes checkpoints",args:{name:"seconds"}}]},{name:"compare",description:"Compare two AI models side-by-side",options:[...r("all"),e(["tui","json","cohort-json"]),{name:"--model-a",description:"First model",args:{name:"model"}},{name:"--model-b",description:"Second model",args:{name:"model"}},...o,{name:"--category",description:"With cohort-json: one activity category",args:{name:"category"}},{name:"--project-id",description:"With cohort-json: exact canonical project identity",isRepeatable:!0,args:{name:"id"}}]},{name:"compare-periods",description:"Compare usage and cost between two periods (B minus A)",options:[t("--from-a","Reference period A start"),t("--to-a","Reference period A end"),t("--from-b","Analyzed period B start"),t("--to-b","Analyzed period B end"),s,e(["json","sessions"]),{name:"--dimension",description:"Drill-down dimension for --format sessions",args:{name:"dimension",suggestions:["project","model"]}},{name:"--key",description:"Contribution key for --format sessions (project path or model id)",args:{name:"key"}},...o,{name:"--no-with-history",description:"Skip the durable daily-history cross-check"}]},{name:"audit",description:"Token audit: raw provider fields vs displayed totals and cost",options:[...r("30days"),...l,e(["table","json"]),...o]},{name:"models",description:"Per-model token + cost table",options:[...r("30days"),...l,{name:"--task",description:"Filter to one task type",args:{name:"category",suggestions:["feature","debugging","refactoring"]}},{name:"--by-task",description:"One row per (provider, model, task)"},{name:"--by-agent",description:"One row per (provider, model, agent)"},{name:"--top",description:"Show only the top N rows",args:{name:"n"}},{name:"--min-cost",description:"Hide rows below this cost threshold",args:{name:"usd"}},{name:"--unpriced",description:"Show only models that price at $0"},{name:"--no-totals",description:"Suppress the footer totals row"},e(["table","markdown","json","csv"]),...o]},{name:"sessions",description:"Full per-session usage report",options:[...r("30days"),...l,e(["table","json"]),{name:"--by-pr",description:"Group spend by referenced pull requests"},{name:"--by-work-unit",description:"Group sessions into provider-recorded work units"},{name:"--contributions",description:"JSON only: attach per-session contribution segments"},{name:"--id",description:"With --why: the Claude Code session to explain",args:{name:"id"}},{name:"--why",description:"Explain why one session cost what it did (needs --id)",dependsOn:["--id"]},{name:"--no-pager",description:"Print the table instead of the browser"},...o]},{name:"yield",description:"Track which AI spend shipped vs reverted (experimental)",options:[d("week","Analysis period"),s,e(["text","json"]),...o]},{name:"spend",description:"Emit model x project spend flow data",options:[...r("30days"),e(["flow-json","branch-json"]),...o]},{name:"antigravity-hook",description:"Install or remove exact Antigravity CLI usage capture",args:{name:"action",suggestions:["install","uninstall"]},options:[{name:"--force",description:"Replace an existing custom Antigravity statusLine command"}]},{name:"mcp",description:"Run an MCP server (stdio) exposing usage + savings to agents"},{name:"doctor",description:"Per-provider detection status and parse health",options:[s,a,u]},{name:"quota",description:"Live provider capacity for each signed-in coding tool",options:[e(["table","json"]),{name:"--claude-profiles",description:"Read each Claude config directory's own quota"},u]},{name:"act",description:"Review and undo changes codeburn has applied",subcommands:[{name:"list",description:"List applied actions, newest first",options:[a]},{name:"undo",description:"Undo an action by id (8-char prefix), or --last",args:{name:"id",isOptional:!0},options:[{name:"--last",description:"Undo the most recent action"},{name:"--force",description:"Undo even if target files changed"}]},{name:"apply-model",description:"Apply the model default recommendation for a project",args:{name:"project"}},{name:"report",description:"Realized vs estimated savings for actions older than 3 days",options:[a]}]},{name:"guard",description:"Opt-in, removable session-time hooks for Claude Code",subcommands:[{name:"install",description:"Install the guard hooks (default: this project)",options:[...h,{name:"--statusline",description:"Also configure the guard statusline"}]},{name:"uninstall",description:"Remove the guard hooks, leaving user hooks untouched",options:h},{name:"status",description:"Show resolved guard config and install locations"},{name:"refresh",description:"Recompute the session-opener flag list"},{name:"allow",description:"Lift the hard budget cap for the current (or given) session",args:{name:"sessionId",isOptional:!0}},{name:"hook",description:"Internal: Claude Code hook entry point",hidden:!0,args:{name:"event"}},{name:"statusline",description:"Internal: Claude Code statusline command",hidden:!0}]},{name:"sync",description:"Sync AI usage telemetry to a remote OTLP endpoint",subcommands:[{name:"setup",description:"Configure sync with a remote endpoint (one-time)",args:{name:"url"}},{name:"status",description:"Show sync configuration and auth status"},{name:"logout",description:"Remove stored credentials and revoke token"},{name:"reset",description:"Clear the sent-ledger",options:[{name:"--confirm",description:"Required to confirm reset"}]},{name:"push",description:"Push unsent telemetry data to the configured endpoint",options:[{name:"--since",description:"Time window (default: 7d, max 6 months)",args:{name:"period",suggestions:["today","7d","30d","month","all"]}},{name:"--dry-run",description:"Show what would be sent"},{name:"--attribution",description:"Also push git attribution spans"}]},{name:"auto",description:"Manage automatic scheduled pushes",subcommands:[{name:"enable",description:"Enable automatic scheduled pushes",options:[{name:"--cadence",description:"Schedule frequency (default: daily)",args:{name:"cadence",suggestions:["daily","hourly"]}},{name:"--attribution",description:"Also send work-matching data"},{name:"--accept",description:"Accept the disclosure and enable"}]},{name:"disable",description:"Disable automatic pushes (kill switch)"},{name:"status",description:"Show automatic sync status and recent receipts",options:[a]},{name:"run",description:"Run automatic push (invoked by scheduler)"}]}]},{name:"plugin",description:"Inspect the plugin socket",subcommands:[{name:"list",description:"List every plugin the loader found, with status",options:[m,a]},{name:"info",description:"Print the full manifest of a loaded plugin",args:{name:"name"},options:[m,a]},{name:"verify",description:"Re-run the verification hook for a plugin",args:{name:"name"},options:[m]},{name:"add",description:"Install a plugin from a local path or the org receiver",args:{name:"source",template:"folders"},options:[m]},{name:"remove",description:"Remove an installed plugin",args:{name:"name"},options:[m,{name:"--confirm",description:"Confirm removal"}]}]},{name:"serve",description:"Run a resident query server over stdio (desktop app)",options:[{name:"--stdio",description:"Serve JSON over stdin/stdout"}]}],options:[{name:["-V","--version"],description:"Output the version number"},{name:["-h","--help"],description:"Display help for command",isPersistent:!0},{name:"--verbose",description:"Print warnings to stderr on read failures and skipped files",isPersistent:!0},{name:"--timezone",description:"IANA timezone for date grouping",isPersistent:!0,args:{name:"zone",suggestions:["UTC","America/New_York","Europe/London","Asia/Tokyo"]}},{name:"--exact-project",description:"A --project/--exclude path matches that folder only",isPersistent:!0}]},w=v;export{w as default};
|
package/build/dsh.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var i=[{name:"web",description:"Boot the Web profile"},{name:"headless",description:"Run one fresh persisted session, print the answer, exit"},{name:"sdk",description:"Serve SDK clients over JSON-RPC stdio"},{name:"sdk-minimal",description:"Serve SDK clients with the standalone minimal agent tree"},{name:"acp",description:"Serve automation clients over ACP stdio"}],p={script:["bash","-c",'ls -1 "${DSH_HOME:-$HOME/.dsh}/profiles" 2>/dev/null'],postProcess:t=>{let s=new Set(["desktop",...i.map(e=>e.name)]);return t.split(`
|
|
2
|
+
`).filter(e=>e&&!s.has(e)).map(e=>({name:e,description:"Custom profile",icon:"\u{1F4C1}"}))}},n={name:"name",generators:p,suggestions:i},a=[{name:"--from-default-profile",description:"Replace a custom profile with a fresh copy of a shipped template",args:{name:"template",suggestions:i}},{name:"--patch",description:"Extra patch-list overlay applied after the profile layer",isRepeatable:!0,args:{name:"path",template:"filepaths"}},{name:"--dump-config",description:"Print the composed profile tree and exit",exclusiveOn:["--dump-default-config","--dump-config-schema"]},{name:"--dump-default-config",description:"Print the tree without user layer or --patch overlays, exit",exclusiveOn:["--dump-config","--dump-config-schema","--patch"]},{name:"--dump-config-schema",description:"Print JSON Schema for profile entries and patches, exit",exclusiveOn:["--dump-config","--dump-default-config"]}],o={name:"app-args",description:"Arguments for the booted profile's app",isOptional:!0,isVariadic:!0},r={name:["-h","--help"],description:"Show the booted app's help (boots nothing)"},c=[{name:"--host",description:"One concrete local address to listen on (no wildcard)",args:{name:"address"}},{name:"--port",description:"Port to listen on (default: 3080)",args:{name:"port"}},{name:"--tls-cert",description:"PEM certificate chain; serve HTTPS (needs --tls-key)",dependsOn:["--tls-key"],args:{name:"file",template:"filepaths"}},{name:"--tls-key",description:"Unencrypted PEM private key; serve HTTPS (needs --tls-cert)",dependsOn:["--tls-cert"],args:{name:"file",template:"filepaths"}},{name:"--trusted-host",description:"Extra authority accepted by the Host/Origin fence",isRepeatable:!0,args:{name:"host"}},{name:"--public-url",description:"URL to advertise instead of the listener address",args:{name:"url"}},{name:"--no-open",description:"Do not open the default browser"}],d={web:{options:[...a,...c,r]},headless:{args:{name:"job",description:"The task to answer",isOptional:!0}}},l={name:"dsh",description:"Boot a DeepSeek Harness profile: an ordered stack of plugin-bundle patch layers under your own overrides",args:[{...n,isOptional:!0},o],subcommands:[...i.map(({name:t,description:s})=>({name:t,description:s,args:o,options:[...a,r],...d[t]})),{name:"plugin",description:"Manage a profile's plugins by forwarding the remaining arguments to pnpm",options:[{name:"--profile",description:"The profile whose plugins to manage",isRequired:!0,args:n},{name:["-h","--help"],description:"Show this help"}],args:{name:"pnpm-args",description:"Arguments forwarded verbatim to pnpm",isVariadic:!0,suggestions:[{name:"add",description:"Install a plugin package or git spec"},{name:"remove",description:"Remove a plugin package"},{name:"update",description:"Update plugin packages"},{name:"why",description:"Show why a package is installed"},{name:"list",description:"List installed packages"}]}}],options:[{name:"--profile",description:"The profile under $DSH_HOME/profiles to boot",args:n},...a,{name:["-V","--version"],description:"Output the version number"},{name:["-h","--help"],description:"Show the launcher's help"}]},m=l;export{m as default};
|