@dendelion/paper-camp 0.43.0 → 0.44.0
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/dist/chunks/dev-port.BLsETEnM.js +55 -0
- package/dist/chunks/dev-port.BLsETEnM.js.map +1 -0
- package/dist/chunks/{needs.BL7yYaO7.js → needs.BmY0GqQY.js} +1672 -1591
- package/dist/chunks/needs.BmY0GqQY.js.map +1 -0
- package/dist/cli/index.js +6045 -5888
- package/dist/cli/index.js.map +1 -1
- package/dist/core/capacity.d.ts +10 -0
- package/dist/core/capacity.d.ts.map +1 -0
- package/dist/core/capacity.test.d.ts +2 -0
- package/dist/core/capacity.test.d.ts.map +1 -0
- package/dist/core/ci/ci-release.d.ts +4 -3
- package/dist/core/ci/ci-release.d.ts.map +1 -1
- package/dist/core/ci/ci-run-word.d.ts +3 -0
- package/dist/core/ci/ci-run-word.d.ts.map +1 -0
- package/dist/core/corpus.d.ts +71 -0
- package/dist/core/corpus.d.ts.map +1 -0
- package/dist/core/corpus.test.d.ts +2 -0
- package/dist/core/corpus.test.d.ts.map +1 -0
- package/dist/{vite → core}/daemon-target.d.ts.map +1 -1
- package/dist/core/daemon-target.test.d.ts.map +1 -0
- package/dist/core/desk-config.d.ts +3 -0
- package/dist/core/desk-config.d.ts.map +1 -0
- package/dist/core/desk-discovery/evidence.d.ts +4 -3
- package/dist/core/desk-discovery/evidence.d.ts.map +1 -1
- package/dist/core/doctor/checks/tooling.d.ts.map +1 -1
- package/dist/core/doctor/doctor.d.ts +2 -0
- package/dist/core/doctor/doctor.d.ts.map +1 -1
- package/dist/core/doctor/rules.d.ts +5 -0
- package/dist/core/doctor/rules.d.ts.map +1 -1
- package/dist/core/git-log.d.ts +9 -2
- package/dist/core/git-log.d.ts.map +1 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +174 -172
- package/dist/core/needs.d.ts +15 -6
- package/dist/core/needs.d.ts.map +1 -1
- package/dist/core/night-shift.d.ts +2 -2
- package/dist/core/night-shift.d.ts.map +1 -1
- package/dist/core/parked-questions.d.ts +1 -1
- package/dist/core/parked-questions.d.ts.map +1 -1
- package/dist/core/project-config.d.ts +14 -0
- package/dist/core/project-config.d.ts.map +1 -0
- package/dist/core/project-config.test.d.ts +2 -0
- package/dist/core/project-config.test.d.ts.map +1 -0
- package/dist/core/push-store.d.ts +2 -1
- package/dist/core/push-store.d.ts.map +1 -1
- package/dist/core/rate-limit.d.ts +0 -8
- package/dist/core/rate-limit.d.ts.map +1 -1
- package/dist/core/readers.d.ts +1 -12
- package/dist/core/readers.d.ts.map +1 -1
- package/dist/core/run-filters.d.ts +0 -1
- package/dist/core/run-filters.d.ts.map +1 -1
- package/dist/core/run-order.d.ts +0 -1
- package/dist/core/run-order.d.ts.map +1 -1
- package/dist/core/run-rows.d.ts +7 -2
- package/dist/core/run-rows.d.ts.map +1 -1
- package/dist/core/scaffold/scaffold.d.ts.map +1 -1
- package/dist/core/scaffold/templates.d.ts +5 -1
- package/dist/core/scaffold/templates.d.ts.map +1 -1
- package/dist/core/sections.d.ts +0 -2
- package/dist/core/sections.d.ts.map +1 -1
- package/dist/core/serialize/entity-file.d.ts +2 -1
- package/dist/core/serialize/entity-file.d.ts.map +1 -1
- package/dist/core/serialize/entity-file.test.d.ts +2 -0
- package/dist/core/serialize/entity-file.test.d.ts.map +1 -0
- package/dist/core/service-status.d.ts +9 -0
- package/dist/core/service-status.d.ts.map +1 -0
- package/dist/core/service-status.test.d.ts +2 -0
- package/dist/core/service-status.test.d.ts.map +1 -0
- package/dist/core/stats.d.ts +0 -1
- package/dist/core/stats.d.ts.map +1 -1
- package/dist/core/tailnet.d.ts +2 -1
- package/dist/core/tailnet.d.ts.map +1 -1
- package/dist/core/trail.d.ts.map +1 -1
- package/dist/toolbar/toolbar.js +7341 -4717
- package/dist/toolbar/toolbar.js.map +1 -1
- package/dist/types/index.d.ts +6 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/vite/index.js +18 -32
- package/dist/vite/index.js.map +1 -1
- package/package.json +6 -2
- package/dist/chunks/dev-port.DG-T8zNq.js +0 -42
- package/dist/chunks/dev-port.DG-T8zNq.js.map +0 -1
- package/dist/chunks/needs.BL7yYaO7.js.map +0 -1
- package/dist/vite/daemon-target.test.d.ts.map +0 -1
- /package/dist/{vite → core}/daemon-target.d.ts +0 -0
- /package/dist/{vite → core}/daemon-target.test.d.ts +0 -0
package/dist/core/run-rows.d.ts
CHANGED
|
@@ -6,8 +6,13 @@ export declare function logRowIdForTask(task: AgentTaskState): string;
|
|
|
6
6
|
* until then its cost and duration live in `phaseRuns` and must be summed. */
|
|
7
7
|
export declare function usageForEntry(entry: TaskLogEntry): RunUsage | undefined;
|
|
8
8
|
/** The most recent tasks.log entry per plan that's still `interrupted` — a newer
|
|
9
|
-
* `started` line on that plan becomes the newest entry, dropping it from this list.
|
|
10
|
-
|
|
9
|
+
* `started` line on that plan becomes the newest entry, dropping it from this list.
|
|
10
|
+
* `closedIds` drops plans that are done/dropped and can never run again; `readIds`
|
|
11
|
+
* drops entries whose matching notification (the task id) was marked read. */
|
|
12
|
+
export declare function interruptedNotices(taskLog: TaskLogEntry[], { closedIds, readIds }: {
|
|
13
|
+
closedIds: Set<string>;
|
|
14
|
+
readIds: Set<string>;
|
|
15
|
+
}): TaskLogEntry[];
|
|
11
16
|
/** A deep link (a push notification's `task:<id>`) can outrun the client: the task
|
|
12
17
|
* may still show as `running:<id>` if it hasn't rolled into tasks.log yet. */
|
|
13
18
|
export declare function resolveLogRow(rows: LogRow[], entryId: string): LogRow | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-rows.d.ts","sourceRoot":"","sources":["../../src/core/run-rows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,KAAK,EACL,MAAM,EACN,YAAY,EAEZ,QAAQ,EAER,YAAY,EACb,MAAM,gBAAgB,CAAC;AAIxB;kEACkE;AAClE,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAE5D;AAYD;8EAC8E;AAC9E,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,QAAQ,GAAG,SAAS,CAgBvE;AAED;
|
|
1
|
+
{"version":3,"file":"run-rows.d.ts","sourceRoot":"","sources":["../../src/core/run-rows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,KAAK,EACL,MAAM,EACN,YAAY,EAEZ,QAAQ,EAER,YAAY,EACb,MAAM,gBAAgB,CAAC;AAIxB;kEACkE;AAClE,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAE5D;AAYD;8EAC8E;AAC9E,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,QAAQ,GAAG,SAAS,CAgBvE;AAED;;;8EAG8E;AAC9E,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,YAAY,EAAE,EACvB,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;IAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAAE,GACvE,YAAY,EAAE,CAahB;AA8FD;8EAC8E;AAC9E,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAOjF;AAED;;;2EAG2E;AAC3E,wBAAgB,YAAY,CAC1B,OAAO,EAAE,YAAY,EAAE,EACvB,MAAM,EAAE,KAAK,EAAE,EACf,WAAW,EAAE,cAAc,EAAE,EAC7B,aAAa,EAAE,YAAY,EAAE,GAC5B,MAAM,EAAE,CAwBV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/scaffold.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/scaffold.ts"],"names":[],"mappings":"AA4CA,eAAO,MAAM,kBAAkB,QAAmB,CAAC;AAEnD,qBAAa,uBAAwB,SAAQ,KAAK;gBACpC,SAAS,EAAE,MAAM;CAG9B;AAaD,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAsB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAgDxF;AAeD,eAAO,MAAM,wBAAwB,6NAS3B,CAAC;AAuBX,wBAAsB,6BAA6B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA0CpF;AAcD,wBAAsB,0BAA0B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWjF"}
|
|
@@ -5,7 +5,11 @@ export declare function buildPermissionsAllow(packageManager: PackageManager): s
|
|
|
5
5
|
export declare function buildSessionStartCommand(hasDependency: boolean): string;
|
|
6
6
|
export declare function mergeClaudeSettingsJson(existingContent: string, targetDir: string): string;
|
|
7
7
|
export declare function buildClaudeSettingsJson(targetDir: string): string;
|
|
8
|
-
export declare
|
|
8
|
+
export declare function buildMcpJson(): string;
|
|
9
|
+
export declare function mergeMcpJson(existingContent: string): string;
|
|
10
|
+
export declare function buildOpencodeJson(): string;
|
|
11
|
+
export declare function mergeOpencodeJson(existingContent: string): string;
|
|
12
|
+
export declare const SKILL_MD_CONTENT = "---\nname: paper-camp\ndescription: Work inside a project that has a papercamp/ folder \u2014 its unified idea entities (each holding its plan as a section), with decisions and open questions logged as notes on the idea they bind. Use this whenever the working directory contains papercamp/ (papercamp/ideas/), and especially before starting, continuing, or completing any plan phase, drafting an idea, logging a decision, or answering \"what are we working on / what's next\".\n---\n\n# Paper Camp\n\nPaper Camp is this project's planning methodology: plans and ideas are one\nthing, a unified entity file under `papercamp/ideas/`, with decisions and\nopen questions logged as notes bound to the idea they concern. This skill\ntells you how to read that state before acting and how to keep it honest as\nyou work.\n\nThe `papercamp` MCP server is present in every run Paper Camp launches and in\nevery session opened in an initialised project \u2014 prefer its tools (list/get\nplans, update phase, etc.) over raw file access, since they enforce the same\nguards (id allocation, branch conflicts) that the file grammar below assumes.\nEverything in this skill still applies conceptually; only the mechanism\nchanges.\n\n## Before doing any work\n\nRead, in this order, whatever exists:\n\n1. `papercamp/ideas/` \u2014 one file per entity, named by id. Ideas and plans are\n one thing: an entity is an *idea* for its whole life, and its plan is a\n `### Phases` section inside the same file.\n2. The specific entity file at `papercamp/ideas/<ID>.md` (e.g. `IDEA-43.md`)\n for the work you're about to do \u2014 YAML frontmatter (`id`, `title`,\n `type`, `status`, `tags`, ...) plus prose rationale, then optionally a\n `### Phases` list of `- [ ]`/`- [x]` checkboxes with an indented\n description under each. Done/dropped entities live in\n `papercamp/ideas/archive/`.\n Its notes carry any decision or open question bound to it \u2014 settled calls\n you shouldn't re-litigate without flagging it to the user first, and\n unresolved questions that might block or redirect the work you're about\n to start.\n\nSkip files that don't exist yet (a fresh project may have empty logs).\n\n## While working\n\n- Work one plan phase at a time unless told otherwise \u2014 don't cascade into\n later phases just because they look quick.\n- If a phase's boundary or intent is unclear, ask before continuing.\n- Prose in plans and ideas is more current than your memory of past\n conversations. If they conflict, the files win \u2014 say so and resync.\n\n## Keep the project current as you go\n\n- **Plan phases**: when you finish a phase, flip its checkbox from `- [ ]` to\n `- [x]` in the plan's frontmatter file. Change only that line \u2014 don't touch\n other phases or prose.\n- **Plan status**: keep the plan's `status:` frontmatter honest\n (`planned` / `in-progress` / `review` / `done`). When every phase is\n checked, set status to `review` \u2014 never `done`. `done` is a human-only\n promotion after review; an agent finishing the last phase does not close\n the plan itself.\n- **Decisions / open questions**: if you settle something ambiguous while\n working, log it as a decision note on the idea it bounds; if you surface a\n question you can't resolve yourself, add it as a question note on that idea\n rather than guessing silently.\n\n## What this skill deliberately does not do\n\nIt does not maintain a separate \"current focus\" file \u2014 that's derived at\nsession start from live plan data, not hand-maintained here. It does\nnot define the file formats in full; treat the existing files under\n`papercamp/` as the grammar reference (mirror their structure exactly rather\nthan inventing a new shape).\n";
|
|
9
13
|
export declare const DRAFT_PR_TEMPLATE_VERSION = 1;
|
|
10
14
|
export declare const DRAFT_PR_WORKFLOW_HEADER = "# paper-camp draft-pr template v1";
|
|
11
15
|
export declare const PULL_REQUEST_TEMPLATE_HEADER = "<!-- paper-camp draft-pr template v1 -->";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/templates.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;AAS7D,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,CAKtE;AAcD,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAQjE;AAYD,wBAAgB,qBAAqB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,EAAE,CAW9E;AAED,wBAAgB,wBAAwB,CAAC,aAAa,EAAE,OAAO,GAAG,MAAM,CAEvE;AAED,wBAAgB,uBAAuB,CAAC,eAAe,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAiB1F;AAED,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAqBjE;AAED,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/templates.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;AAS7D,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,CAKtE;AAcD,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAQjE;AAYD,wBAAgB,qBAAqB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,EAAE,CAW9E;AAED,wBAAgB,wBAAwB,CAAC,aAAa,EAAE,OAAO,GAAG,MAAM,CAEvE;AAED,wBAAgB,uBAAuB,CAAC,eAAe,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAiB1F;AAED,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAqBjE;AAID,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,wBAAgB,YAAY,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAe5D;AAID,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAED,wBAAgB,iBAAiB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAejE;AAED,eAAO,MAAM,gBAAgB,irHAsE5B,CAAC;AAIF,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAE3C,eAAO,MAAM,wBAAwB,sCAAiE,CAAC;AAEvG,eAAO,MAAM,4BAA4B,6CAAwE,CAAC;AAMlH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGrE;AAED,eAAO,MAAM,yBAAyB,kvGAgGrC,CAAC;AAEF,eAAO,MAAM,6BAA6B,ghBAgBzC,CAAC"}
|
package/dist/core/sections.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LogEntry, MarginNote, PhaseItem, ThreadMessage } from '../types/index';
|
|
2
|
-
declare const SUB_HEADING_RE: RegExp;
|
|
3
2
|
/** A section's parse and format sides share the same heading, so this is the one
|
|
4
3
|
* table both `core/parse/parser.ts` and `core/serialize/serializer.ts` drive from.
|
|
5
4
|
* Headings match h2 OR h3 on read: the serializer only ever writes `###`, but generic
|
|
@@ -20,5 +19,4 @@ export declare const CLARIFICATIONS_SECTION: SectionDef<LogEntry>;
|
|
|
20
19
|
export declare const NOTES_SECTION: SectionDef<MarginNote>;
|
|
21
20
|
export declare const REVIEW_SECTION: SectionDef<LogEntry>;
|
|
22
21
|
export declare const THREAD_SECTION: SectionDef<ThreadMessage>;
|
|
23
|
-
export { SUB_HEADING_RE };
|
|
24
22
|
//# sourceMappingURL=sections.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../src/core/sections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EAGV,SAAS,EACT,aAAa,EAGd,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../src/core/sections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EAGV,SAAS,EACT,aAAa,EAGd,MAAM,gBAAgB,CAAC;AA6JxB;;;;;4EAK4E;AAC5E,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC,EAAE,CAAC;IACnE,WAAW,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;CACzC;AAED,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,SAAS,CAIhD,CAAC;AAEF;8EAC8E;AAC9E,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,SAAS,CAI/C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,QAAQ,CAI5C,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,QAAQ,CAIvD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,UAAU,CAIhD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,QAAQ,CAI/C,CAAC;AA2EF,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,aAAa,CAIpD,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { LogEntry, MarginNote, PhaseItem, SuggestionEntry, ThreadMessage, ThreadMessageOption } from '../../types/index';
|
|
2
2
|
export declare function todayDateString(): string;
|
|
3
|
+
export declare function nowMinuteString(): string;
|
|
3
4
|
/** Every agent-authored thread message must carry `from: 'agent'` or it renders as the
|
|
4
5
|
* user's own message in the feedback chat — build them through here so it can't be forgotten. */
|
|
5
6
|
export declare function agentThreadMessage(text: string, kind?: ThreadMessage['kind'], entityId?: string, decision?: {
|
|
6
7
|
options?: ThreadMessageOption[];
|
|
7
8
|
context?: string;
|
|
8
|
-
}): ThreadMessage;
|
|
9
|
+
}, date?: string): ThreadMessage;
|
|
9
10
|
interface NewPlanInput {
|
|
10
11
|
title: string;
|
|
11
12
|
status: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-file.d.ts","sourceRoot":"","sources":["../../../src/core/serialize/entity-file.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,SAAS,EACT,eAAe,EACf,aAAa,EACb,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAwB3B,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED;iGACiG;AACjG,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,aAAa,CAAC,MAAM,CAAS,EACnC,QAAQ,CAAC,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/
|
|
1
|
+
{"version":3,"file":"entity-file.d.ts","sourceRoot":"","sources":["../../../src/core/serialize/entity-file.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,SAAS,EACT,eAAe,EACf,aAA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AC;IACrB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;IAGzB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC9C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,CAgClE;AAED,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,QAAQ,EAAE,CAAC;CAClB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CAa9D;AAID,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAG,MAAM,CAkBtF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-file.test.d.ts","sourceRoot":"","sources":["../../../src/core/serialize/entity-file.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ServiceState } from '../types/index';
|
|
2
|
+
export type ServiceTone = 'muted' | 'running' | 'pass' | 'fail';
|
|
3
|
+
export interface ServiceStatus {
|
|
4
|
+
word: string;
|
|
5
|
+
tone: ServiceTone;
|
|
6
|
+
}
|
|
7
|
+
export declare const SERVICE_DOT_CLASS: Record<ServiceTone, string>;
|
|
8
|
+
export declare function serviceStatus(service: ServiceState): ServiceStatus;
|
|
9
|
+
//# sourceMappingURL=service-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-status.d.ts","sourceRoot":"","sources":["../../src/core/service-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAEhE,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAKzD,CAAC;AAEF,wBAAgB,aAAa,CAAC,OAAO,EAAE,YAAY,GAAG,aAAa,CAmBlE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-status.test.d.ts","sourceRoot":"","sources":["../../src/core/service-status.test.ts"],"names":[],"mappings":""}
|
package/dist/core/stats.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EntityEntry, EntityStatus, IdeaCost, ProjectStats, TaskLogEntry, TasksPerWeek, UsagePerWeek } from '../types/index';
|
|
2
|
-
export { latestCapacity } from './rate-limit';
|
|
3
2
|
export declare function countEntitiesByStatus(entities: EntityEntry[]): Partial<Record<EntityStatus, number>>;
|
|
4
3
|
export declare function countThreadNotes(entities: EntityEntry[]): {
|
|
5
4
|
openQuestions: number;
|
package/dist/core/stats.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/core/stats.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,YAAY,EAEZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACb,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/core/stats.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,YAAY,EAEZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACb,MAAM,gBAAgB,CAAC;AAsExB,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,WAAW,EAAE,GACtB,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAOvC;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,CAUA;AAED;wEACwE;AACxE,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAOlD;AAID,wBAAgB,YAAY,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CAYpE;AA2BD,wBAAgB,YAAY,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CAyBpE;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,MAAM,GAAG,IAAI,CAa5E;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,SAAI,GAAG,QAAQ,EAAE,CAsBjF;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CA4B7E"}
|
package/dist/core/tailnet.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface TailnetPeer {
|
|
2
2
|
dnsName: string;
|
|
3
3
|
}
|
|
4
4
|
export interface TailnetStatus {
|
|
@@ -11,4 +11,5 @@ export interface TailnetStatus {
|
|
|
11
11
|
* in, or backend-stopped, so every caller can fall back to today's behaviour
|
|
12
12
|
* without special-casing "no tailnet". */
|
|
13
13
|
export declare function readTailnetStatus(): Promise<TailnetStatus | undefined>;
|
|
14
|
+
export {};
|
|
14
15
|
//# sourceMappingURL=tailnet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailnet.d.ts","sourceRoot":"","sources":["../../src/core/tailnet.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"tailnet.d.ts","sourceRoot":"","sources":["../../src/core/tailnet.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,WAAW,EAAE,CAAC;CAC5B;AAiCD;;;2CAG2C;AAC3C,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAyB5E"}
|
package/dist/core/trail.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trail.d.ts","sourceRoot":"","sources":["../../src/core/trail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EACL,aAAa,EAEb,0BAA0B,EAG3B,MAAM,WAAW,CAAC;AAMnB,OAAO,EAAE,aAAa,EAAE,0BAA0B,EAAE,CAAC;AAErD,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAMjE;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAKtF;AAMD,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAM5F;AAuCD,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAUhG;AAID,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAiBhC;AAED,wBAAsB,kBAAk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