prjct-cli 0.35.2 → 0.35.4
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/core/commands/analysis.ts +58 -32
- package/core/commands/command-data.ts +11 -50
- package/core/commands/commands.ts +18 -21
- package/core/commands/context.ts +238 -0
- package/core/commands/register.ts +7 -5
- package/core/commands/setup.ts +1 -17
- package/core/commands/workflow.ts +3 -2
- package/core/index.ts +2 -4
- package/core/services/index.ts +2 -0
- package/core/services/sync-service.ts +1080 -0
- package/core/types/commands.ts +0 -12
- package/core/types/index.ts +0 -1
- package/dist/bin/prjct.mjs +1219 -310
- package/package.json +2 -8
- package/templates/_bases/tracker-base.md +309 -0
- package/templates/agentic/agent-routing.md +22 -88
- package/templates/agentic/agents/uxui.md +42 -197
- package/templates/agentic/context-filtering.md +14 -56
- package/templates/agentic/orchestrator.md +31 -365
- package/templates/agentic/skill-integration.md +37 -289
- package/templates/agentic/subagent-generation.md +31 -104
- package/templates/agentic/task-fragmentation.md +39 -273
- package/templates/agents/AGENTS.md +32 -188
- package/templates/commands/bug.md +22 -520
- package/templates/commands/dash.md +26 -161
- package/templates/commands/done.md +19 -250
- package/templates/commands/enrich.md +21 -732
- package/templates/commands/github.md +9 -0
- package/templates/commands/history.md +296 -83
- package/templates/commands/idea.md +18 -160
- package/templates/commands/init.md +20 -209
- package/templates/commands/jira.md +9 -0
- package/templates/commands/linear.md +9 -0
- package/templates/commands/merge.md +21 -185
- package/templates/commands/monday.md +9 -0
- package/templates/commands/next.md +21 -103
- package/templates/commands/p.md +198 -63
- package/templates/commands/pause.md +21 -272
- package/templates/commands/resume.md +19 -348
- package/templates/commands/setup.md +0 -1
- package/templates/commands/ship.md +30 -627
- package/templates/commands/sync.md +11 -1345
- package/templates/commands/task.md +17 -439
- package/templates/commands/test.md +30 -259
- package/CLAUDE.md +0 -211
- package/packages/shared/node_modules/@types/bun/LICENSE +0 -21
- package/packages/shared/node_modules/@types/bun/README.md +0 -20
- package/packages/shared/node_modules/@types/bun/index.d.ts +0 -1
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/CLAUDE.md +0 -105
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/README.md +0 -33
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.d.ts +0 -7032
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.ns.d.ts +0 -5
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bundle.d.ts +0 -74
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/deprecated.d.ts +0 -184
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/devserver.d.ts +0 -187
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/README.md +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/bytecode.mdx +0 -465
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/css.mdx +0 -1024
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/esbuild.mdx +0 -298
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/executables.mdx +0 -1277
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/fullstack.mdx +0 -1086
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/hot-reloading.mdx +0 -229
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/html-static.mdx +0 -488
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/index.mdx +0 -1604
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/loaders.mdx +0 -451
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/macros.mdx +0 -328
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/minifier.mdx +0 -1286
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/plugins.mdx +0 -425
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/feedback.mdx +0 -75
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +0 -29
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +0 -26
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +0 -27
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +0 -41
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +0 -27
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +0 -27
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +0 -204
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +0 -161
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +0 -194
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/railway.mdx +0 -145
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/render.mdx +0 -82
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/vercel.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +0 -82
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +0 -80
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +0 -151
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +0 -195
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +0 -31
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/express.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +0 -261
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +0 -47
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +0 -92
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +0 -234
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +0 -60
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +0 -103
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +0 -96
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +0 -55
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +0 -169
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +0 -164
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +0 -114
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/react.mdx +0 -52
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +0 -62
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +0 -138
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +0 -114
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +0 -791
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +0 -87
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +0 -77
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +0 -71
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/cluster.mdx +0 -69
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +0 -35
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch.mdx +0 -26
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/file-uploads.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/hot.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/proxy.mdx +0 -50
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/server.mdx +0 -48
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/simple.mdx +0 -20
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-file.mdx +0 -50
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +0 -22
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/tls.mdx +0 -32
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/index.mdx +0 -10
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-dev.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-git.mdx +0 -40
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-optional.mdx +0 -27
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-peer.mdx +0 -45
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-tarball.mdx +0 -35
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add.mdx +0 -44
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +0 -76
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/cicd.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/custom-registry.mdx +0 -32
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +0 -230
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +0 -48
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/npm-alias.mdx +0 -25
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/registry-scope.mdx +0 -40
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/trusted.mdx +0 -52
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/workspaces.mdx +0 -70
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/yarnlock.mdx +0 -51
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/argv.mdx +0 -66
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ipc.mdx +0 -69
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/os-signals.mdx +0 -31
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +0 -34
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/stdin.mdx +0 -62
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +0 -30
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/buffer.mdx +0 -21
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/exists.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/json.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/mime.mdx +0 -22
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/stream.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/string.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +0 -23
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/watch.mdx +0 -66
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +0 -295
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/cicd.mdx +0 -45
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +0 -61
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +0 -149
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +0 -39
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +0 -21
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-html.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-json.mdx +0 -46
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +0 -32
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +0 -104
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/read-env.mdx +0 -37
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/set-env.mdx +0 -51
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/shell.mdx +0 -42
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/timezone.mdx +0 -38
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +0 -31
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/typescript.mdx +0 -51
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +0 -47
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +0 -103
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +0 -13
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +0 -13
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +0 -14
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +0 -14
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +0 -13
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-array.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-blob.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-json.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-string.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/bail.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +0 -146
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +0 -67
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/happy-dom.mdx +0 -73
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +0 -125
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-clock.mdx +0 -50
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-functions.mdx +0 -70
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/rerun-each.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/run-tests.mdx +0 -116
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/skip-tests.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/snapshot.mdx +0 -102
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/spy-on.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/svelte-test.mdx +0 -113
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/testing-library.mdx +0 -93
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/timeout.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/todo-tests.mdx +0 -74
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/watch-mode.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/base64.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deep-equals.mdx +0 -41
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deflate.mdx +0 -20
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/detect-bun.mdx +0 -28
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/entrypoint.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/escape-html.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/gzip.mdx +0 -20
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +0 -56
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +0 -15
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +0 -25
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/main.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/sleep.mdx +0 -24
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/upgrade.mdx +0 -93
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/version.mdx +0 -23
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/compression.mdx +0 -33
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/context.mdx +0 -79
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +0 -43
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/simple.mdx +0 -38
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/append.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/basic.mdx +0 -46
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/blob.mdx +0 -30
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/cat.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/filesink.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/response.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stdout.mdx +0 -23
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stream.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/unlink.mdx +0 -18
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/index.mdx +0 -133
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/installation.mdx +0 -365
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/bunx.mdx +0 -91
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/catalogs.mdx +0 -292
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/add.mdx +0 -179
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/audit.mdx +0 -60
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/info.mdx +0 -70
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/install.mdx +0 -606
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/link.mdx +0 -61
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/outdated.mdx +0 -197
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/patch.mdx +0 -69
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/pm.mdx +0 -323
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/publish.mdx +0 -131
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/remove.mdx +0 -16
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/update.mdx +0 -140
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/why.mdx +0 -84
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/filter.mdx +0 -102
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/global-cache.mdx +0 -72
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/isolated-installs.mdx +0 -220
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lifecycle.mdx +0 -64
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lockfile.mdx +0 -64
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/npmrc.mdx +0 -111
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/overrides.mdx +0 -83
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/scopes-registries.mdx +0 -35
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/security-scanner-api.mdx +0 -95
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/workspaces.mdx +0 -115
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/benchmarking.mdx +0 -241
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/bindgen.mdx +0 -223
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/building-windows.mdx +0 -133
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/contributing.mdx +0 -388
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/feedback.mdx +0 -20
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/license.mdx +0 -78
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/roadmap.mdx +0 -8
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/quickstart.mdx +0 -251
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/auto-install.mdx +0 -97
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/binary-data.mdx +0 -846
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bun-apis.mdx +0 -59
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bunfig.mdx +0 -723
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/c-compiler.mdx +0 -204
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/child-process.mdx +0 -659
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/color.mdx +0 -267
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/console.mdx +0 -67
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/cookies.mdx +0 -454
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/debugger.mdx +0 -335
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/environment-variables.mdx +0 -231
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/ffi.mdx +0 -565
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-io.mdx +0 -306
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-system-router.mdx +0 -118
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-types.mdx +0 -435
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/glob.mdx +0 -181
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/globals.mdx +0 -72
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/hashing.mdx +0 -315
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/html-rewriter.mdx +0 -333
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/cookies.mdx +0 -79
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/error-handling.mdx +0 -40
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/metrics.mdx +0 -36
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/routing.mdx +0 -289
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/server.mdx +0 -645
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/tls.mdx +0 -101
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/websockets.mdx +0 -414
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/index.mdx +0 -223
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/jsx.mdx +0 -115
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/module-resolution.mdx +0 -374
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/dns.mdx +0 -111
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/fetch.mdx +0 -484
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/tcp.mdx +0 -239
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/udp.mdx +0 -129
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/node-api.mdx +0 -19
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +0 -468
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/plugins.mdx +0 -419
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/redis.mdx +0 -583
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/s3.mdx +0 -863
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/secrets.mdx +0 -340
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/semver.mdx +0 -57
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/shell.mdx +0 -637
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sql.mdx +0 -1404
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sqlite.mdx +0 -721
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/streams.mdx +0 -232
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/create.mdx +0 -269
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/init.mdx +0 -58
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/transpiler.mdx +0 -288
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/typescript.mdx +0 -58
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/utils.mdx +0 -922
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/watch-mode.mdx +0 -161
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/web-apis.mdx +0 -29
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/workers.mdx +0 -314
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/yaml.mdx +0 -469
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/add.mdx +0 -166
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/build.mdx +0 -196
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/bunx.mdx +0 -49
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/feedback.mdx +0 -17
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/init.mdx +0 -84
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/install.mdx +0 -173
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/link.mdx +0 -163
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/outdated.mdx +0 -140
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/patch.mdx +0 -171
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/publish.mdx +0 -198
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/remove.mdx +0 -146
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/run.mdx +0 -293
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/test.mdx +0 -100
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/update.mdx +0 -144
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/code-coverage.mdx +0 -409
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/configuration.mdx +0 -514
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dates-times.mdx +0 -129
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/discovery.mdx +0 -90
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dom.mdx +0 -226
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/index.mdx +0 -380
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/lifecycle.mdx +0 -366
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/mocks.mdx +0 -637
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/reporters.mdx +0 -126
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/runtime-behavior.mdx +0 -342
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/snapshots.mdx +0 -434
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/writing-tests.mdx +0 -672
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/typescript.mdx +0 -54
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/extensions.d.ts +0 -35
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/fetch.d.ts +0 -79
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/ffi.d.ts +0 -1154
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/globals.d.ts +0 -2067
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/html-rewriter.d.ts +0 -186
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/index.d.ts +0 -32
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/jsc.d.ts +0 -233
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/overrides.d.ts +0 -376
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/package.json +0 -37
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/redis.d.ts +0 -3352
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/s3.d.ts +0 -1299
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/security.d.ts +0 -101
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/serve.d.ts +0 -1296
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/shell.d.ts +0 -380
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sql.d.ts +0 -887
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sqlite.d.ts +0 -1321
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test-globals.d.ts +0 -22
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test.d.ts +0 -2391
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/branding.d.ts +0 -283
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/index.d.ts +0 -1207
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/messages.d.ts +0 -395
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/overloads.d.ts +0 -669
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/utils.d.ts +0 -431
- package/packages/shared/node_modules/@types/bun/node_modules/bun-types/wasm.d.ts +0 -193
- package/packages/shared/node_modules/@types/bun/package.json +0 -53
- package/packages/shared/package.json +0 -29
- package/packages/shared/src/index.ts +0 -10
- package/packages/shared/src/schemas.ts +0 -124
- package/packages/shared/src/types.ts +0 -187
- package/packages/shared/src/unified.ts +0 -174
- package/packages/shared/src/utils.ts +0 -148
- package/packages/shared/tsconfig.json +0 -18
- package/templates/commands/redo.md +0 -144
- package/templates/commands/undo.md +0 -154
package/templates/commands/p.md
CHANGED
|
@@ -7,79 +7,214 @@ allowed-tools: [Read, Write, Edit, Bash, Glob, Grep, Task, AskUserQuestion, Todo
|
|
|
7
7
|
|
|
8
8
|
**ARGUMENTS**: $ARGUMENTS
|
|
9
9
|
|
|
10
|
-
##
|
|
11
|
-
|
|
12
|
-
1. Parse ARGUMENTS: first word = `command`, rest = `commandArgs`
|
|
13
|
-
2. Get npm global root:
|
|
14
|
-
```bash
|
|
15
|
-
npm root -g
|
|
16
|
-
```
|
|
17
|
-
3. **Run Orchestrator** (for task-related commands):
|
|
18
|
-
- Read: `{npmRoot}/prjct-cli/templates/agentic/orchestrator.md`
|
|
19
|
-
- Execute orchestrator Steps 1-5 to load agents and skills
|
|
20
|
-
4. Read command template:
|
|
21
|
-
```
|
|
22
|
-
{npmRoot}/prjct-cli/templates/commands/{command}.md
|
|
23
|
-
```
|
|
24
|
-
5. Execute template with `commandArgs` + orchestrator context
|
|
25
|
-
|
|
26
|
-
## Orchestrator Integration
|
|
27
|
-
|
|
28
|
-
For these commands, run orchestrator FIRST:
|
|
29
|
-
- `task`, `done`, `ship` - Core workflow
|
|
30
|
-
- `bug`, `plan`, `prd`, `spec`, `design` - Planning
|
|
31
|
-
- `review`, `merge` - Git operations
|
|
32
|
-
|
|
33
|
-
Skip orchestrator for:
|
|
34
|
-
- `init`, `sync`, `setup` - Project config (no task context)
|
|
35
|
-
- `dash`, `next`, `history` - Read-only views
|
|
36
|
-
- `linear`, `jira`, `github`, `monday` - Integrations (own logic)
|
|
37
|
-
|
|
38
|
-
## Example
|
|
39
|
-
|
|
40
|
-
ARGUMENTS = "task fix the login bug"
|
|
41
|
-
|
|
42
|
-
1. command = "task"
|
|
43
|
-
2. commandArgs = "fix the login bug"
|
|
44
|
-
3. npm root -g → `/opt/homebrew/lib/node_modules`
|
|
45
|
-
4. **Orchestrator**:
|
|
46
|
-
- Analyze: "login bug" → domains: [frontend, backend]
|
|
47
|
-
- Load agents: frontend.md, backend.md
|
|
48
|
-
- Invoke skills: ui-design, api-design
|
|
49
|
-
5. Read: `/opt/homebrew/lib/node_modules/prjct-cli/templates/commands/task.md`
|
|
50
|
-
6. Execute with: "fix the login bug" + orchestrator context
|
|
10
|
+
## Quick Routing
|
|
51
11
|
|
|
52
|
-
|
|
12
|
+
Parse ARGUMENTS and route to the correct command template.
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
PARSE: $ARGUMENTS
|
|
16
|
+
SET: command = first word (lowercase)
|
|
17
|
+
SET: commandArgs = rest of arguments
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Command Aliases (Redirects)
|
|
23
|
+
|
|
24
|
+
These commands redirect to unified commands:
|
|
25
|
+
|
|
26
|
+
| Input | Redirects To |
|
|
27
|
+
|-------|--------------|
|
|
28
|
+
| `p. undo` | `p. history undo` |
|
|
29
|
+
| `p. redo` | `p. history redo` |
|
|
30
|
+
|
|
31
|
+
If command is `undo` or `redo`:
|
|
32
|
+
PREPEND "history" to arguments
|
|
33
|
+
SET: command = "history"
|
|
34
|
+
SET: commandArgs = "{original_command} {commandArgs}"
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Command Categories
|
|
39
|
+
|
|
40
|
+
### Core Workflow (use orchestrator)
|
|
41
|
+
- `task` - Start any task with PM Expert enrichment
|
|
42
|
+
- `done` - Complete current subtask
|
|
43
|
+
- `ship` - Ship feature with version bump
|
|
44
|
+
|
|
45
|
+
### Planning (use orchestrator for task context)
|
|
46
|
+
- `plan` - Quarter-based roadmap planning
|
|
47
|
+
- `prd` - Create PRD with Chief Architect
|
|
48
|
+
- `spec` - Spec-driven development
|
|
49
|
+
- `design` - Design workflow
|
|
50
|
+
- `enrich` - Ticket enrichment
|
|
51
|
+
|
|
52
|
+
### Project Management (no orchestrator)
|
|
53
|
+
- `init` - Initialize project
|
|
54
|
+
- `sync` - Deep project analysis
|
|
55
|
+
- `setup` - Configure prjct
|
|
56
|
+
- `dash` - View dashboard
|
|
57
|
+
|
|
58
|
+
### Queue & Ideas (no orchestrator)
|
|
59
|
+
- `next` - Show priority queue
|
|
60
|
+
- `idea` - Quick idea capture
|
|
61
|
+
- `bug` - Report bug with auto-priority
|
|
62
|
+
|
|
63
|
+
### Issue Trackers (own logic)
|
|
64
|
+
- `linear` - Linear integration
|
|
65
|
+
- `jira` - JIRA integration
|
|
66
|
+
- `github` - GitHub Issues integration
|
|
67
|
+
- `monday` - Monday.com integration
|
|
68
|
+
|
|
69
|
+
### Git Operations (use orchestrator)
|
|
70
|
+
- `git` - Smart git operations
|
|
71
|
+
- `merge` - Merge PR
|
|
72
|
+
- `review` - Code review
|
|
73
|
+
|
|
74
|
+
### Analysis (no orchestrator)
|
|
75
|
+
- `analyze` - Analyze project
|
|
76
|
+
- `history` - View/undo/redo snapshots
|
|
77
|
+
- `impact` - Track outcomes
|
|
78
|
+
|
|
79
|
+
### Utilities (no orchestrator)
|
|
80
|
+
- `cleanup` - Code cleanup
|
|
81
|
+
- `update` - Force update prjct
|
|
82
|
+
- `verify` - Verify completion
|
|
83
|
+
- `test` - Run tests
|
|
84
|
+
- `serve` - Start web server
|
|
85
|
+
- `auth` - Manage authentication
|
|
86
|
+
- `skill` - Skill management
|
|
87
|
+
- `pause` - Pause current task
|
|
88
|
+
- `resume` - Resume paused task
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Execution Flow
|
|
93
|
+
|
|
94
|
+
### Step 1: Get npm global root
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
npm root -g
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
SET: npmRoot = result
|
|
101
|
+
|
|
102
|
+
### Step 2: Load State (always)
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
READ: .prjct/prjct.config.json
|
|
106
|
+
EXTRACT: projectId
|
|
107
|
+
|
|
108
|
+
IF file exists:
|
|
109
|
+
SET: globalPath = ~/.prjct-cli/projects/{projectId}
|
|
110
|
+
READ: {globalPath}/storage/state.json (if exists)
|
|
111
|
+
SET: hasActiveTask = state.currentTask != null
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Step 3: Load Agent (if project has one)
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
IF {globalPath}/agents/ has files:
|
|
118
|
+
# Load the main project agent (generated by sync)
|
|
119
|
+
GLOB: {globalPath}/agents/*.md
|
|
120
|
+
READ: first agent file (project-specific patterns)
|
|
121
|
+
SET: agentContext = agent content
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Step 4: Check if orchestrator needed
|
|
53
125
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
**Integrations**: `linear` `jira` `github` `monday`
|
|
59
|
-
**Git**: `git` `merge` `review`
|
|
60
|
-
**Analysis**: `analyze` `history` `impact`
|
|
61
|
-
**Utils**: `cleanup` `update` `verify` `test` `undo` `redo` `serve` `auth` `skill`
|
|
126
|
+
Commands that benefit from orchestrator (task context + agent loading):
|
|
127
|
+
- `task`, `done`, `ship`
|
|
128
|
+
- `bug`, `plan`, `prd`, `spec`, `design`
|
|
129
|
+
- `review`, `merge`
|
|
62
130
|
|
|
63
|
-
|
|
131
|
+
For these commands:
|
|
132
|
+
```
|
|
133
|
+
READ: {npmRoot}/prjct-cli/templates/agentic/orchestrator.md
|
|
134
|
+
EXECUTE: orchestrator Steps 1-5 to build execution context
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Step 5: Load and execute command template
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
READ: {npmRoot}/prjct-cli/templates/commands/{command}.md
|
|
141
|
+
EXECUTE: template with:
|
|
142
|
+
- commandArgs as $ARGUMENTS
|
|
143
|
+
- orchestrator context (if loaded)
|
|
144
|
+
- agent context (if loaded)
|
|
145
|
+
- state context (if available)
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## State Context Injection
|
|
151
|
+
|
|
152
|
+
When executing any command, include:
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
## Current State
|
|
156
|
+
|
|
157
|
+
Project: {projectId}
|
|
158
|
+
{IF hasActiveTask:}
|
|
159
|
+
Active Task: {state.currentTask.description}
|
|
160
|
+
Branch: {state.currentTask.branch.name}
|
|
161
|
+
Subtask: {state.currentTask.currentSubtaskIndex + 1}/{state.currentTask.subtasks.length}
|
|
162
|
+
{ELSE:}
|
|
163
|
+
No active task.
|
|
164
|
+
{ENDIF}
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
---
|
|
64
168
|
|
|
65
|
-
|
|
169
|
+
## Output Format
|
|
170
|
+
|
|
171
|
+
For orchestrator-enabled commands, output context header:
|
|
66
172
|
|
|
67
173
|
```
|
|
68
174
|
🎯 Task: {commandArgs}
|
|
69
175
|
|
|
70
176
|
📦 Context:
|
|
71
|
-
├──
|
|
72
|
-
├──
|
|
73
|
-
└── Domain: {
|
|
177
|
+
├── Agent: {loadedAgent || 'none'}
|
|
178
|
+
├── State: {hasActiveTask ? 'active task' : 'no task'}
|
|
179
|
+
└── Domain: {detectedDomain || 'general'}
|
|
180
|
+
|
|
181
|
+
{Continue with command execution...}
|
|
74
182
|
```
|
|
75
183
|
|
|
76
|
-
|
|
184
|
+
For utility commands, execute directly without context header.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Error Handling
|
|
189
|
+
|
|
190
|
+
| Error | Action |
|
|
191
|
+
|-------|--------|
|
|
192
|
+
| Unknown command | "Unknown command: {command}. Run `p. help` for available commands." |
|
|
193
|
+
| No project | "No prjct project. Run `p. init` first." (for commands that need project) |
|
|
194
|
+
| Template not found | "Template not found: {command}.md" |
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## Available Commands
|
|
199
|
+
|
|
200
|
+
```
|
|
201
|
+
Core: task done ship pause resume
|
|
202
|
+
Project: init sync setup dash
|
|
203
|
+
Planning: plan prd spec design enrich
|
|
204
|
+
Queue: next idea bug
|
|
205
|
+
Trackers: linear jira github monday
|
|
206
|
+
Git: git merge review
|
|
207
|
+
Analysis: analyze history impact
|
|
208
|
+
Utils: cleanup update verify test serve auth skill
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
---
|
|
77
212
|
|
|
78
|
-
##
|
|
213
|
+
## NOW: Execute
|
|
79
214
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
215
|
+
1. Parse command from $ARGUMENTS
|
|
216
|
+
2. Handle aliases (undo → history undo, redo → history redo)
|
|
217
|
+
3. Run `npm root -g` to get template path
|
|
218
|
+
4. Load state and agent context
|
|
219
|
+
5. Check if orchestrator needed
|
|
220
|
+
6. Load and execute command template
|
|
@@ -1,290 +1,39 @@
|
|
|
1
1
|
---
|
|
2
2
|
allowed-tools: [Read, Write, Bash, AskUserQuestion]
|
|
3
|
-
description: 'Pause current session with reason'
|
|
4
|
-
timestamp-rule: 'GetTimestamp() for all timestamps'
|
|
5
|
-
architecture: 'Write-Through (JSON → MD → Events)'
|
|
6
|
-
storage-layer: true
|
|
7
|
-
source-of-truth: 'storage/state.json'
|
|
8
|
-
claude-context: 'context/now.md'
|
|
9
|
-
backend-sync: 'sync/pending.json'
|
|
10
3
|
---
|
|
11
4
|
|
|
12
|
-
#
|
|
5
|
+
# p. pause "$ARGUMENTS"
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
User Action → Storage (JSON) → Context (MD) → Sync Events
|
|
7
|
+
```bash
|
|
8
|
+
prjct context pause
|
|
18
9
|
```
|
|
19
10
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
**Backend Sync**: `sync/pending.json` (events)
|
|
11
|
+
IF no `currentTask` → "No active task to pause"
|
|
12
|
+
IF already paused → Show paused state, STOP
|
|
23
13
|
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
- `{syncPath}`: `{globalPath}/sync/pending.json`
|
|
30
|
-
- `{memoryPath}`: `{globalPath}/memory/events.jsonl`
|
|
31
|
-
- `{reason}`: User-provided reason (optional)
|
|
14
|
+
IF no reason provided, Ask: "Why pausing?"
|
|
15
|
+
- Blocked (waiting on external)
|
|
16
|
+
- Switching task
|
|
17
|
+
- Taking a break
|
|
18
|
+
- Researching
|
|
32
19
|
|
|
33
|
-
|
|
20
|
+
IF blocked → Ask what's blocking
|
|
34
21
|
|
|
35
|
-
|
|
22
|
+
Calculate duration since `startedAt`
|
|
36
23
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
| `switch` | Switching to higher priority task | Context switch metric |
|
|
41
|
-
| `break` | Taking a break | Normal pause |
|
|
42
|
-
| `research` | Need to investigate more | Research time tracked |
|
|
24
|
+
UPDATE `{globalPath}/storage/state.json`:
|
|
25
|
+
- `pausedTask` = currentTask with `status: "paused"`, `pausedAt`, `pauseReason`
|
|
26
|
+
- `currentTask` = null
|
|
43
27
|
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
Why are you pausing?
|
|
47
|
-
1. blocked - Waiting on something external
|
|
48
|
-
2. switch - Starting a different task
|
|
49
|
-
3. break - Taking a break
|
|
50
|
-
4. research - Need to investigate
|
|
28
|
+
**Output**:
|
|
51
29
|
```
|
|
30
|
+
⏸️ Paused: {task}
|
|
52
31
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
READ: `.prjct/prjct.config.json`
|
|
56
|
-
EXTRACT: `projectId`
|
|
57
|
-
|
|
58
|
-
IF file not found:
|
|
59
|
-
OUTPUT: "No prjct project. Run /p:init first."
|
|
60
|
-
STOP
|
|
61
|
-
|
|
62
|
-
## Step 2: Check Current State
|
|
63
|
-
|
|
64
|
-
### Read state.json (source of truth)
|
|
65
|
-
READ: `{statePath}`
|
|
66
|
-
|
|
67
|
-
IF file not found OR no currentTask:
|
|
68
|
-
OUTPUT: "⚠️ No active session to pause. Use /p:now to start one."
|
|
69
|
-
STOP
|
|
70
|
-
|
|
71
|
-
PARSE JSON
|
|
72
|
-
EXTRACT: {currentTask}, {pausedTask}
|
|
73
|
-
|
|
74
|
-
IF {currentTask} is null OR {currentTask.status} != "active":
|
|
75
|
-
IF {pausedTask} exists:
|
|
76
|
-
CALCULATE: {elapsed} = time since {pausedTask.pausedAt}
|
|
77
|
-
OUTPUT:
|
|
78
|
-
```
|
|
79
|
-
⏸️ Already paused: {pausedTask.description}
|
|
80
|
-
|
|
81
|
-
Paused: {elapsed} ago
|
|
82
|
-
Duration so far: {pausedTask.duration}
|
|
83
|
-
Reason: {pausedTask.pauseReason}
|
|
84
|
-
|
|
85
|
-
/p:resume to continue | /p:done to complete
|
|
86
|
-
```
|
|
87
|
-
STOP
|
|
88
|
-
ELSE:
|
|
89
|
-
OUTPUT: "⚠️ No active session to pause."
|
|
90
|
-
STOP
|
|
91
|
-
|
|
92
|
-
## Step 3: Get Pause Reason (AGENTIC)
|
|
93
|
-
|
|
94
|
-
IF {reason} not provided:
|
|
95
|
-
USE AskUserQuestion:
|
|
96
|
-
```
|
|
97
|
-
question: "Why are you pausing '{currentTask.description}'?"
|
|
98
|
-
header: "Pause Reason"
|
|
99
|
-
options:
|
|
100
|
-
- label: "Blocked"
|
|
101
|
-
description: "Waiting on external dependency"
|
|
102
|
-
- label: "Switching task"
|
|
103
|
-
description: "Starting a different, higher priority task"
|
|
104
|
-
- label: "Taking a break"
|
|
105
|
-
description: "Stepping away temporarily"
|
|
106
|
-
- label: "Researching"
|
|
107
|
-
description: "Need to investigate more before continuing"
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
SET: {reason} = choice mapped to (blocked, switch, break, research)
|
|
111
|
-
|
|
112
|
-
IF {reason} == "blocked":
|
|
113
|
-
USE AskUserQuestion:
|
|
114
|
-
```
|
|
115
|
-
question: "What's blocking you?"
|
|
116
|
-
header: "Blocker"
|
|
117
|
-
options:
|
|
118
|
-
- label: "Waiting for review"
|
|
119
|
-
description: "Code review or approval needed"
|
|
120
|
-
- label: "Waiting for API/credentials"
|
|
121
|
-
description: "External access or keys needed"
|
|
122
|
-
- label: "Waiting for clarification"
|
|
123
|
-
description: "Need more info on requirements"
|
|
124
|
-
- label: "Technical blocker"
|
|
125
|
-
description: "Dependency or infrastructure issue"
|
|
126
|
-
```
|
|
127
|
-
SET: {blockerNote} = choice (user can also provide custom text)
|
|
128
|
-
|
|
129
|
-
## Step 4: Calculate Duration So Far
|
|
130
|
-
|
|
131
|
-
SET: {now} = GetTimestamp()
|
|
132
|
-
SET: {durationSeconds} = seconds between {currentTask.startedAt} and {now}
|
|
133
|
-
SET: {durationFormatted} = format as "Xh Ym" or "Xm"
|
|
134
|
-
|
|
135
|
-
## Step 5: Update Storage (SOURCE OF TRUTH)
|
|
136
|
-
|
|
137
|
-
### Prepare paused task
|
|
138
|
-
```json
|
|
139
|
-
{
|
|
140
|
-
"id": "{currentTask.id}",
|
|
141
|
-
"description": "{currentTask.description}",
|
|
142
|
-
"status": "paused",
|
|
143
|
-
"startedAt": "{currentTask.startedAt}",
|
|
144
|
-
"pausedAt": "{now}",
|
|
145
|
-
"sessionId": "{currentTask.sessionId}",
|
|
146
|
-
"duration": {durationSeconds},
|
|
147
|
-
"pauseReason": "{reason}",
|
|
148
|
-
"pauseNote": "{blockerNote}",
|
|
149
|
-
"estimate": "{currentTask.estimate}",
|
|
150
|
-
"estimateSeconds": {currentTask.estimateSeconds},
|
|
151
|
-
"workflow": "{currentTask.workflow}",
|
|
152
|
-
"subtasks": "{currentTask.subtasks}",
|
|
153
|
-
"currentSubtaskIndex": {currentTask.currentSubtaskIndex},
|
|
154
|
-
"branch": "{currentTask.branch}"
|
|
155
|
-
}
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
**Note**: The workflow field is preserved so the task can resume at the correct phase.
|
|
159
|
-
|
|
160
|
-
### Update state.json
|
|
161
|
-
READ: `{statePath}`
|
|
162
|
-
SET: state.pausedTask = paused task object
|
|
163
|
-
SET: state.currentTask = null
|
|
164
|
-
SET: state.lastUpdated = {now}
|
|
165
|
-
WRITE: `{statePath}`
|
|
166
|
-
|
|
167
|
-
## Step 6: Generate Context (FOR CLAUDE)
|
|
168
|
-
|
|
169
|
-
WRITE: `{nowContextPath}`
|
|
170
|
-
|
|
171
|
-
```markdown
|
|
172
|
-
# NOW
|
|
173
|
-
|
|
174
|
-
⏸️ **{currentTask.description}** (paused)
|
|
175
|
-
|
|
176
|
-
Started: {currentTask.startedAt}
|
|
177
|
-
Paused: {now}
|
|
178
|
-
Duration: {durationFormatted}
|
|
32
|
+
Duration: {time}
|
|
179
33
|
Reason: {reason}
|
|
180
|
-
Session: {currentTask.sessionId}
|
|
181
|
-
{IF blockerNote: Note: {blockerNote}}
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
## Step 7: Queue Sync Event (FOR BACKEND)
|
|
185
|
-
|
|
186
|
-
READ: `{syncPath}` or create empty array
|
|
187
|
-
APPEND event:
|
|
188
|
-
```json
|
|
189
|
-
{
|
|
190
|
-
"type": "task.paused",
|
|
191
|
-
"path": ["state"],
|
|
192
|
-
"data": {
|
|
193
|
-
"taskId": "{currentTask.id}",
|
|
194
|
-
"description": "{currentTask.description}",
|
|
195
|
-
"pausedAt": "{now}",
|
|
196
|
-
"duration": {durationSeconds},
|
|
197
|
-
"reason": "{reason}",
|
|
198
|
-
"note": "{blockerNote}"
|
|
199
|
-
},
|
|
200
|
-
"timestamp": "{now}",
|
|
201
|
-
"projectId": "{projectId}"
|
|
202
|
-
}
|
|
203
|
-
```
|
|
204
|
-
WRITE: `{syncPath}`
|
|
205
|
-
|
|
206
|
-
## Step 8: Log to Memory (AUDIT TRAIL)
|
|
207
|
-
|
|
208
|
-
APPEND to: `{memoryPath}`
|
|
209
|
-
|
|
210
|
-
Single line (JSONL):
|
|
211
|
-
```json
|
|
212
|
-
{"timestamp":"{now}","action":"task_paused","taskId":"{currentTask.id}","sessionId":"{currentTask.sessionId}","task":"{currentTask.description}","duration":{durationSeconds},"reason":"{reason}","note":"{blockerNote}"}
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
## Output
|
|
216
|
-
|
|
217
|
-
SUCCESS:
|
|
218
|
-
```
|
|
219
|
-
⏸️ Paused: {currentTask.description}
|
|
220
|
-
|
|
221
|
-
Session: {currentTask.sessionId}
|
|
222
|
-
Active time: {durationFormatted}
|
|
223
|
-
Reason: {reason}
|
|
224
|
-
{IF blockerNote: Note: {blockerNote}}
|
|
225
|
-
|
|
226
|
-
Next:
|
|
227
|
-
• /p:resume - Continue this task
|
|
228
|
-
• /p:now <task> - Start different task
|
|
229
|
-
• /p:done - Complete without resuming
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
## Error Handling
|
|
233
|
-
|
|
234
|
-
| Error | Response | Action |
|
|
235
|
-
|-------|----------|--------|
|
|
236
|
-
| No project | "No prjct project" | STOP |
|
|
237
|
-
| No session | "No active session" | STOP |
|
|
238
|
-
| Already paused | Show paused state | STOP |
|
|
239
|
-
| Write fails | Log warning | CONTINUE |
|
|
240
|
-
|
|
241
|
-
## Examples
|
|
242
|
-
|
|
243
|
-
### Example 1: Pause with Blocked Reason
|
|
244
|
-
**Input:** `/p:pause blocked`
|
|
245
|
-
**Prompt:** "What's blocking you?"
|
|
246
|
-
**User:** "Waiting for API credentials from vendor"
|
|
247
|
-
|
|
248
|
-
**Output:**
|
|
249
|
-
```
|
|
250
|
-
⏸️ Paused: implement auth
|
|
251
|
-
|
|
252
|
-
Session: 550e8400-e29b-41d4-a716-446655440000
|
|
253
|
-
Active time: 2h 30m
|
|
254
|
-
Reason: blocked
|
|
255
|
-
Note: Waiting for API credentials from vendor
|
|
256
|
-
|
|
257
|
-
Next:
|
|
258
|
-
• /p:resume - Continue this task
|
|
259
|
-
• /p:now <task> - Start different task
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
### Example 2: Quick Break
|
|
263
|
-
**Input:** `/p:pause break`
|
|
264
|
-
|
|
265
|
-
**Output:**
|
|
266
|
-
```
|
|
267
|
-
⏸️ Paused: implement auth
|
|
268
|
-
|
|
269
|
-
Session: 550e8400-e29b-41d4-a716-446655440000
|
|
270
|
-
Active time: 2h 30m
|
|
271
|
-
Reason: break
|
|
272
|
-
|
|
273
|
-
Next:
|
|
274
|
-
• /p:resume - Continue this task
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
### Example 3: Context Switch
|
|
278
|
-
**Input:** `/p:pause switch`
|
|
279
|
-
|
|
280
|
-
**Output:**
|
|
281
|
-
```
|
|
282
|
-
⏸️ Paused: implement auth
|
|
283
|
-
|
|
284
|
-
Session: 550e8400-e29b-41d4-a716-446655440000
|
|
285
|
-
Active time: 2h 30m
|
|
286
|
-
Reason: switch
|
|
287
34
|
|
|
288
35
|
Next:
|
|
289
|
-
|
|
36
|
+
- Resume → `p. resume`
|
|
37
|
+
- New task → `p. task "description"`
|
|
38
|
+
- Complete without resuming → `p. done`
|
|
290
39
|
```
|