@hasna/todos 0.11.89 → 0.11.92
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/README.md +7 -2
- package/dist/cli/cloud-router.d.ts +57 -25
- package/dist/cli/cloud-router.d.ts.map +1 -1
- package/dist/cli/commands/agent-commands.d.ts.map +1 -1
- package/dist/cli/commands/plan-template-commands.d.ts.map +1 -1
- package/dist/cli/commands/project-commands.d.ts.map +1 -1
- package/dist/cli/commands/query-commands.d.ts.map +1 -1
- package/dist/cli/commands/storage-commands.d.ts.map +1 -1
- package/dist/cli/commands/task-commands.d.ts.map +1 -1
- package/dist/cli/helpers.d.ts +15 -1
- package/dist/cli/helpers.d.ts.map +1 -1
- package/dist/cli/index.js +19594 -30654
- package/dist/cli/output-redaction.d.ts +5 -0
- package/dist/cli/output-redaction.d.ts.map +1 -0
- package/dist/cli/stage-a.d.ts +45 -0
- package/dist/cli/stage-a.d.ts.map +1 -0
- package/dist/contracts.js +196 -97
- package/dist/index.js +517 -313
- package/dist/lib/package-version.d.ts +1 -1
- package/dist/lib/package-version.d.ts.map +1 -1
- package/dist/lib/redaction.d.ts.map +1 -1
- package/dist/lib/tmux.d.ts.map +1 -1
- package/dist/mcp/index.js +837 -6847
- package/dist/mcp.js +118 -20
- package/dist/registry.js +196 -97
- package/dist/release-provenance.json +5 -3
- package/dist/sdk/index.js +37 -2
- package/dist/sdk/v1.generated.d.ts +72 -3
- package/dist/sdk/v1.generated.d.ts.map +1 -1
- package/dist/server/index.js +2213 -8136
- package/dist/server/openapi.d.ts +366 -2
- package/dist/server/openapi.d.ts.map +1 -1
- package/dist/server/v1.d.ts.map +1 -1
- package/dist/storage.js +112 -14
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +9 -6
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Task } from "../types/index.js";
|
|
2
|
+
export declare function redactBroadTask<T extends Task>(task: T): T;
|
|
3
|
+
export declare function redactBroadTasks<T extends Task>(tasks: T[]): T[];
|
|
4
|
+
export declare function redactBroadOutput<T>(value: T): T;
|
|
5
|
+
//# sourceMappingURL=output-redaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-redaction.d.ts","sourceRoot":"","sources":["../../src/cli/output-redaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAG9C,wBAAgB,eAAe,CAAC,CAAC,SAAS,IAAI,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAE1D;AAED,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAEhE;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAEhD"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
type Env = Record<string, string | undefined>;
|
|
2
|
+
export type TodosCliAuthorityInitialization = {
|
|
3
|
+
route: "local";
|
|
4
|
+
v1_base_url: null;
|
|
5
|
+
} | {
|
|
6
|
+
route: "remote-diagnostic";
|
|
7
|
+
v1_base_url: string | null;
|
|
8
|
+
} | {
|
|
9
|
+
route: "remote-http";
|
|
10
|
+
v1_base_url: string;
|
|
11
|
+
};
|
|
12
|
+
export type TodosCliCommandOwner = "diagnostic" | "remote-http" | "local-only";
|
|
13
|
+
export declare const TODOS_CLI_COMMAND_ALIASES: {
|
|
14
|
+
readonly onboarding: readonly ["demo-fixtures"];
|
|
15
|
+
readonly retrospectives: readonly ["retro"];
|
|
16
|
+
readonly completions: readonly ["completion"];
|
|
17
|
+
readonly comment: readonly ["log-progress"];
|
|
18
|
+
readonly "todos-md-import": readonly ["import-md", "markdown-import"];
|
|
19
|
+
readonly "api-keys": readonly ["api-key"];
|
|
20
|
+
readonly "template-init": readonly ["templates-init"];
|
|
21
|
+
readonly "template-library": readonly ["templates-library"];
|
|
22
|
+
readonly "template-preview": readonly ["templates-preview"];
|
|
23
|
+
readonly "template-export": readonly ["templates-export"];
|
|
24
|
+
readonly "template-import": readonly ["templates-import"];
|
|
25
|
+
readonly "template-history": readonly ["templates-history"];
|
|
26
|
+
readonly "agents-normalize": readonly ["normalize-agents"];
|
|
27
|
+
readonly "agent-update": readonly ["agents-update"];
|
|
28
|
+
readonly upgrade: readonly ["self-update"];
|
|
29
|
+
readonly roadmaps: readonly ["roadmap"];
|
|
30
|
+
readonly "env-snapshot": readonly ["environment-snapshot"];
|
|
31
|
+
readonly reviews: readonly ["review-queue"];
|
|
32
|
+
readonly snapshots: readonly ["local-snapshots"];
|
|
33
|
+
readonly references: readonly ["refs"];
|
|
34
|
+
readonly reliability: readonly ["scorecards"];
|
|
35
|
+
readonly lists: readonly ["task-lists", "tl"];
|
|
36
|
+
};
|
|
37
|
+
export declare function getTodosCliCommandCapabilityMatrix(): ReadonlyMap<string, TodosCliCommandOwner>;
|
|
38
|
+
/**
|
|
39
|
+
* Stage A runs before importing any command module that can reach SQLite or
|
|
40
|
+
* native Postgres adapters. It validates the complete mode state, gates the
|
|
41
|
+
* remote command surface, then constructs only the authenticated HTTP client.
|
|
42
|
+
*/
|
|
43
|
+
export declare function initializeTodosCliAuthority(args?: string[], env?: Env): TodosCliAuthorityInitialization;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=stage-a.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stage-a.d.ts","sourceRoot":"","sources":["../../src/cli/stage-a.ts"],"names":[],"mappings":"AAMA,KAAK,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAE9C,MAAM,MAAM,+BAA+B,GACvC;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,WAAW,EAAE,IAAI,CAAA;CAAE,GACrC;IAAE,KAAK,EAAE,mBAAmB,CAAC;IAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAC1D;IAAE,KAAK,EAAE,aAAa,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG,aAAa,GAAG,YAAY,CAAC;AAyB/E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;CAuBgB,CAAC;AAsBvD,wBAAgB,kCAAkC,IAAI,WAAW,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAE9F;AA2ID;;;;GAIG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,GAAE,MAAM,EAA0B,EACtC,GAAG,GAAE,GAAwB,GAC5B,+BAA+B,CAgBjC"}
|