@telora/mcp-products 0.22.104 → 0.22.105
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.
|
@@ -12,9 +12,11 @@ import { callProductApi, successResult, wrapHandler, } from "../shared.js";
|
|
|
12
12
|
export function registerSessionStateTool(server, getCreds) {
|
|
13
13
|
server.tool("telora_session_state", "Session bootstrap: returns Telora connection state in a single payload " +
|
|
14
14
|
"(connected URL, organization, product, active focus + role, pending " +
|
|
15
|
-
"delivery counts).
|
|
16
|
-
"
|
|
17
|
-
"
|
|
15
|
+
"delivery counts). activeFocus also carries an operator-stop indicator " +
|
|
16
|
+
"(held: true + operatorStoppedAt timestamp) so a stop is confirmable " +
|
|
17
|
+
"without reading the daemon log. Used by the SessionStart hook to surface " +
|
|
18
|
+
"state at chat open. Optional productId; auto-resolved when the " +
|
|
19
|
+
"organization has a single product. " +
|
|
18
20
|
"NOTE: branch state (commits ahead of integration) is NOT included in " +
|
|
19
21
|
"this response -- the server has no git access. For branch state, run " +
|
|
20
22
|
"`telora-daemon session-state --json` in the repo root.", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionStateHandler.js","sourceRoot":"","sources":["../../src/handlers/sessionStateHandler.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,2CAA2C;AAC3C,EAAE;AACF,sEAAsE;AACtE,0EAA0E;AAC1E,oEAAoE;AACpE,0EAA0E;AAC1E,uDAAuD;AACvD,8EAA8E;AAE9E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,cAAc,EACd,aAAa,EACb,WAAW,GAEZ,MAAM,cAAc,CAAC;AAEtB,MAAM,UAAU,wBAAwB,CACtC,MAAiB,EACjB,QAAkB;IAElB,MAAM,CAAC,IAAI,CACT,sBAAsB,EACtB,yEAAyE;QACvE,sEAAsE;QACtE,sEAAsE;QACtE,
|
|
1
|
+
{"version":3,"file":"sessionStateHandler.js","sourceRoot":"","sources":["../../src/handlers/sessionStateHandler.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,2CAA2C;AAC3C,EAAE;AACF,sEAAsE;AACtE,0EAA0E;AAC1E,oEAAoE;AACpE,0EAA0E;AAC1E,uDAAuD;AACvD,8EAA8E;AAE9E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,cAAc,EACd,aAAa,EACb,WAAW,GAEZ,MAAM,cAAc,CAAC;AAEtB,MAAM,UAAU,wBAAwB,CACtC,MAAiB,EACjB,QAAkB;IAElB,MAAM,CAAC,IAAI,CACT,sBAAsB,EACtB,yEAAyE;QACvE,sEAAsE;QACtE,wEAAwE;QACxE,sEAAsE;QACtE,2EAA2E;QAC3E,iEAAiE;QACjE,qCAAqC;QACrC,uEAAuE;QACvE,uEAAuE;QACvE,wDAAwD,EAC1D;QACE,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,IAAI,EAAE;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,oEAAoE,CACrE;KACJ,EACD,WAAW,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;QAClC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;QACzB,MAAM,IAAI,GAA4B,EAAE,MAAM,EAAE,eAAe,EAAE,CAAC;QAClE,IAAI,SAAS;YAAE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC1C,MAAM,MAAM,GAAG,CAAC,MAAM,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,CAA4B,CAAC;QAC9E,uEAAuE;QACvE,gCAAgC;QAChC,MAAM,QAAQ,GAAG,EAAE,GAAG,MAAM,EAAE,YAAY,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;QAC9D,OAAO,aAAa,CAAC,QAAQ,CAAC,CAAC;IACjC,CAAC,CAAC,CACH,CAAC;AACJ,CAAC"}
|