@teeras/afterhours-mcp 0.4.2 → 0.7.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/README.md CHANGED
@@ -22,9 +22,10 @@ It gives a coding agent five local tools:
22
22
  last hour's tempo, and what is running now — the same object
23
23
  `npx @teeras/afterhours now --json` prints, computed in the collector
24
24
  - `afterhours_week` — the human's current local AI-life-balance snapshot;
25
- longitudinal patterns remain in Teeras web and mobile
26
- - `afterhours_vocabulary` — the words Teeras uses for its metrics, with their
27
- glosses, so any agent speaks the same words
25
+ accepts `finishBy` (HH:MM) and a legacy `stopHour` alias; longitudinal patterns
26
+ remain in Teeras web and mobile
27
+ - `afterhours_vocabulary` — the words Teeras uses for its metrics and rituals,
28
+ with their glosses, so any agent speaks the same words
28
29
  - `afterhours_sources` — detected coding-agent apps and setup fidelity
29
30
  - `afterhours_privacy` — the exact retained/never-retained contract
30
31
 
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAWpE,wBAAgB,sBAAsB,IAAI,SAAS,CAsDlD"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAWpE,wBAAgB,sBAAsB,IAAI,SAAS,CAiElD"}
package/dist/server.js CHANGED
@@ -12,15 +12,26 @@ export function createAfterhoursServer() {
12
12
  server.registerTool("afterhours_week", {
13
13
  description: "Read the human's current local AI-life-balance snapshot. Do not infer longitudinal patterns from one week; direct the human to Teeras web or mobile for history, sleep, and recovery.",
14
14
  inputSchema: {
15
- stopHour: z.number().int().min(18).max(23).optional().describe("The human's local planned stop hour."),
15
+ finishBy: z
16
+ .string()
17
+ .regex(/^([01]\d|2[0-3]):[0-5]\d$/)
18
+ .optional()
19
+ .describe("the chosen finish-by time, HH:MM; defaults to this Mac's own setting"),
20
+ stopHour: z
21
+ .number()
22
+ .int()
23
+ .min(18)
24
+ .max(23)
25
+ .optional()
26
+ .describe("legacy: whole hour 18–23, same as finishBy HH:00"),
16
27
  },
17
- }, ({ stopHour }) => text(afterhoursWeek(stopHour)));
28
+ }, (input) => text(afterhoursWeek(input)));
18
29
  server.registerTool("afterhours_now", {
19
30
  description: "Today so far for the human — time back (stretches at or over their own threshold, always with its share of agent time), the last hour's tempo (check-ins, return latency, re-prompts under a minute, agents at once), and what is running now — the same object `trs now --json` prints. Every duration is an estimate; place facts side by side and never assert a cause; sleep and recovery live on the human's phone, so point there rather than guess.",
20
31
  inputSchema: {},
21
32
  }, () => text(afterhoursNow()));
22
33
  server.registerTool("afterhours_vocabulary", {
23
- description: "The words Teeras uses for its metrics — each label with its gloss, provenance, and display order — so you can speak them verbatim, lowercase, and say what each means the first time it appears.",
34
+ description: "The words Teeras uses for its metrics — each label with its gloss, provenance, and display order, plus the `provenance` block that says how to name each source to a person (`chosen` is spoken as \"you chose\") — so you can speak them verbatim, lowercase, and say what each means the first time it appears.",
24
35
  inputSchema: {},
25
36
  }, () => text(afterhoursVocabulary()));
26
37
  server.registerTool("afterhours_sources", {
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEvH,gFAAgF;AAChF,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,iBAAiB,CAAwB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AC;iBACR,MAAM,EAAE;iBACR,GAAG,EAAE;iBACL,GAAG,CAAC,EAAE,CAAC;iBACP,GAAG,CAAC,EAAE,CAAC;iBACP,QAAQ,EAAE;iBACV,QAAQ,CAAC,kDAAkD,CAAC;SAChE;KACF,EACD,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CACvC,CAAC;IAEF,MAAM,CAAC,YAAY,CACjB,gBAAgB,EAChB;QACE,WAAW,EACT,4bAA4b;QAC9b,WAAW,EAAE,EAAE;KAChB,EACD,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAC5B,CAAC;IAEF,MAAM,CAAC,YAAY,CACjB,uBAAuB,EACvB;QACE,WAAW,EACT,mTAAmT;QACrT,WAAW,EAAE,EAAE;KAChB,EACD,GAAG,EAAE,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,CACnC,CAAC;IAEF,MAAM,CAAC,YAAY,CACjB,oBAAoB,EACpB;QACE,WAAW,EAAE,4GAA4G;QACzH,WAAW,EAAE,EAAE;KAChB,EACD,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAChC,CAAC;IAEF,MAAM,CAAC,YAAY,CACjB,oBAAoB,EACpB;QACE,WAAW,EAAE,oFAAoF;QACjG,WAAW,EAAE,EAAE;KAChB,EACD,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAChC,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/dist/tools.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { detectCodingAgents, type AfterhoursReport, type AfterhoursSnapshot, type NowSnapshot, type VocabEntry, type VocabKey } from "@teeras/afterhours";
1
+ import { detectCodingAgents, MARKS, SENTENCES, type AfterhoursReport, type AfterhoursSnapshot, type NowSnapshot, type Provenance, type ProvenanceEntry, type RitualKey, type VocabEntry, type VocabKey } from "@teeras/afterhours";
2
2
  export interface ConnectionState {
3
3
  connected: boolean;
4
4
  connect?: string;
@@ -9,7 +9,10 @@ export interface WeekResult {
9
9
  note: string;
10
10
  connection: ConnectionState;
11
11
  }
12
- export declare function afterhoursWeek(stopHour?: number): WeekResult;
12
+ export declare function afterhoursWeek(input?: {
13
+ finishBy?: string;
14
+ stopHour?: number;
15
+ }): WeekResult;
13
16
  export declare function afterhoursSources(): {
14
17
  generatedAt: string;
15
18
  sources: Array<Pick<AfterhoursSnapshot["sources"][number], "id" | "name" | "configured" | "fidelity" | "sessions">>;
@@ -29,6 +32,16 @@ export declare function afterhoursNow(): NowResult;
29
32
  export interface VocabularyResult {
30
33
  version: number;
31
34
  entries: Readonly<Record<VocabKey, VocabEntry>>;
35
+ /** Each entry's `provenance` word, and the words to say it with to a person. */
36
+ provenance: Readonly<Record<Provenance, ProvenanceEntry>>;
37
+ rituals: Readonly<Record<RitualKey, {
38
+ label: string;
39
+ gloss: string;
40
+ }>>;
41
+ /** Drawn marks (the day line): a label and a gloss, no provenance. */
42
+ marks: typeof MARKS;
43
+ /** Shared sentence templates; `{others}` is each surface's own two siblings. */
44
+ sentences: typeof SENTENCES;
32
45
  }
33
46
  export declare function afterhoursVocabulary(): VocabularyResult;
34
47
  //# sourceMappingURL=tools.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,kBAAkB,EAMlB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,QAAQ,EACd,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AASD,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,gBAAgB,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb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F;IAChF,SAAS,EAAE,OAAO,SAAS,CAAC;CAC7B;AAED,wBAAgB,oBAAoB,IAAI,gBAAgB,CAEvD"}
package/dist/tools.js CHANGED
@@ -1,12 +1,25 @@
1
- import { collectAfterhours, DATA_BOUNDARY, detectCodingAgents, nowFrom, readCredentials, reportFrom, VOCABULARY, VOCABULARY_VERSION, } from "@teeras/afterhours";
1
+ import { collectAfterhours, DATA_BOUNDARY, detectCodingAgents, finishByState, isFinishBy, nowFrom, MARKS, PROVENANCE, readCredentials, readSettings, reportFrom, RITUALS, SENTENCES, VOCABULARY, VOCABULARY_VERSION, } from "@teeras/afterhours";
2
2
  const CONNECT_REMEDY = "Not connected yet. Run `npx @teeras/afterhours setup` — you (the agent) can run it and relay the sign-in code to your user.";
3
3
  function connectionState() {
4
4
  return readCredentials() ? { connected: true } : { connected: false, connect: CONNECT_REMEDY };
5
5
  }
6
- export function afterhoursWeek(stopHour = 22) {
6
+ /**
7
+ * The finish-by an agent should use, in order: an explicit `finishBy` the
8
+ * agent passed; the legacy whole-hour `stopHour` an agent passed, read as
9
+ * `HH:00`; else the Mac's own choice from `trs finish-by`.
10
+ */
11
+ function resolveFinishBy(input) {
12
+ if (isFinishBy(input.finishBy))
13
+ return input.finishBy;
14
+ if (input.stopHour != null && Number.isInteger(input.stopHour) && input.stopHour >= 18 && input.stopHour <= 23) {
15
+ return `${String(input.stopHour).padStart(2, "0")}:00`;
16
+ }
17
+ return finishByState(readSettings())?.value ?? null;
18
+ }
19
+ export function afterhoursWeek(input = {}) {
7
20
  const snapshot = collectAfterhours();
8
21
  return {
9
- report: reportFrom(snapshot, stopHour),
22
+ report: reportFrom(snapshot, resolveFinishBy(input)),
10
23
  generatedAt: snapshot.generatedAt,
11
24
  note: "This is one local snapshot. Open Teeras on web or mobile for longitudinal patterns, sleep, and recovery.",
12
25
  connection: connectionState(),
@@ -34,6 +47,6 @@ export function afterhoursNow() {
34
47
  return { ...nowFrom(), connection: connectionState() };
35
48
  }
36
49
  export function afterhoursVocabulary() {
37
- return { version: VOCABULARY_VERSION, entries: VOCABULARY };
50
+ return { version: VOCABULARY_VERSION, entries: VOCABULARY, provenance: PROVENANCE, rituals: RITUALS, marks: MARKS, sentences: SENTENCES };
38
51
  }
39
52
  //# sourceMappingURL=tools.js.map
package/dist/tools.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,OAAO,EACP,eAAe,EACf,UAAU,EACV,UAAU,EACV,kBAAkB,GAMnB,MAAM,oBAAoB,CAAC;AAO5B,MAAM,cAAc,GAClB,6HAA6H,CAAC;AAEhI,SAAS,eAAe;IACtB,OAAO,eAAe,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjG,CAAC;AASD,MAAM,UAAU,cAAc,CAAC,QAAQ,GAAG,EAAE;IAC1C,MAAM,QAAQ,GAAG,iBAAiB,EAAE,CAAC;IACrC,OAAO;QACL,MAAM,EAAE,UAAU,CAAC,QAAQ,EAAE,QAAQ,CAAC;QACtC,WAAW,EAAE,QAAQ,CAAC,WAAW;QACjC,IAAI,EAAE,0GAA0G;QAChH,UAAU,EAAE,eAAe,EAAE;KAC9B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB;IAM/B,MAAM,QAAQ,GAAG,iBAAiB,EAAE,CAAC;IACrC,OAAO;QACL,WAAW,EAAE,QAAQ,CAAC,WAAW;QACjC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;YACzC,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,UAAU,EAAE,MAAM,CAAC,UAAU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B;IAC/B,OAAO,aAAa,CAAC;AACvB,CAAC;AAQD,MAAM,UAAU,aAAa;IAC3B,OAAO,EAAE,GAAG,OAAO,EAAE,EAAE,UAAU,EAAE,eAAe,EAAE,EAAE,CAAC;AACzD,CAAC;AAeD,MAAM,UAAU,oBAAoB;IAClC,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;AAC5I,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teeras/afterhours-mcp",
3
- "version": "0.4.2",
3
+ "version": "0.7.0",
4
4
  "description": "Account-gated MCP tools for private coding-agent usage and AI-life balance.",
5
5
  "homepage": "https://teeras.com",
6
6
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@modelcontextprotocol/sdk": "^1.29.0",
47
- "@teeras/afterhours": "^0.11.0",
47
+ "@teeras/afterhours": "^0.14.0",
48
48
  "zod": "^3.25.76"
49
49
  },
50
50
  "devDependencies": {