@coalex-ai/sdk 1.25.0 → 1.26.0-beta.646

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
@@ -27,7 +27,10 @@ register({
27
27
  await autoInstrumentAsync();
28
28
 
29
29
  // 3. Wrap agent invocations for tracing
30
- const result = await coalexContext({ agentId: "support-agent" }, async () => {
30
+ // `version` is the build this agent is running. It is optional today and omitting it logs a
31
+ // warning (COA-2636): a trace with no version cannot be attributed to a build, and the
32
+ // dashboard records it as `unknown`. It will become required in a future major release.
33
+ const result = await coalexContext({ agentId: "support-agent", version: "1.4.0" }, async () => {
31
34
  // Your AI agent logic here
32
35
  return await chain.invoke({ question: "..." });
33
36
  });
@@ -109,7 +112,13 @@ const prompt = await getPrompt({ agent: "my-agent", name: "system" }); // once,
109
112
 
110
113
  // per request:
111
114
  await coalexContext(
112
- { agentId: "my-agent", requestId: "req-123", promptVersion: prompt.version, promptType: prompt.promptType },
115
+ {
116
+ agentId: "my-agent",
117
+ requestId: "req-123",
118
+ version: "1.4.0",
119
+ promptVersion: prompt.version,
120
+ promptType: prompt.promptType,
121
+ },
113
122
  async () => {
114
123
  // traced code — spans carry coalex.prompt_version
115
124
  },
package/dist/context.d.ts CHANGED
@@ -17,6 +17,12 @@ export declare function currentAgentId(): string | undefined;
17
17
  export interface CoalexContextOptions {
18
18
  agentId: string;
19
19
  requestId?: string;
20
+ /**
21
+ * The build this invocation is running. Optional today, and omitting it logs a warning once
22
+ * per agent per process (COA-2636): a trace with no version cannot be attributed to a build,
23
+ * and the dashboard records it against the version `unknown`. It will become required in a
24
+ * future major release.
25
+ */
20
26
  version?: string;
21
27
  /**
22
28
  * Prompt Vault version driving this invocation. Lets an agent that fetches its prompt once at
@@ -28,6 +34,24 @@ export interface CoalexContextOptions {
28
34
  /** Prompt type (e.g. "system"). Paired with {@link promptVersion}. */
29
35
  promptType?: string;
30
36
  }
37
+ /**
38
+ * COA-2636, under COA-2634. An agent that does not say which version it is, is an agent whose
39
+ * decisions cannot be attributed to a build — in a governance product that is the difference between
40
+ * "this decision came from this version of the system" and "it came from something". Measured
41
+ * 24/09/2026: the `golden-advisor` ran unversioned from 19/08 to 09/09 and only surfaced in a
42
+ * hand-written sweep. Nobody who instrumented it was ever told.
43
+ *
44
+ * Word for word the Python SDK's `MISSING_VERSION_GUIDANCE`, and `test_sdk_parity.py` fails if the
45
+ * two drift: one SDK that warns and one that does not is the same agent instrumented the same way
46
+ * getting different advice depending on which language it is written in.
47
+ *
48
+ * No date and no version number in this text: publishing one is a promise to every customer on npm,
49
+ * and that is Jorge's call, not the SDK's. When he picks them, they go here and in
50
+ * `packages/sdk-python/src/coalex/context.py` in the same words.
51
+ */
52
+ export declare function missingVersionGuidance(agentId: string): string;
53
+ /** Forget which agents have been warned about. For tests; the registry is process-global. */
54
+ export declare function resetVersionWarnings(): void;
31
55
  export declare function coalexContext<T>(options: CoalexContextOptions, fn: () => Promise<T> | T): Promise<T>;
32
56
  export declare function coalexContextSync<T>(options: CoalexContextOptions, fn: () => T): T;
33
57
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAeA,sFAAsF;AACtF,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAEjE;AAED,yEAAyE;AACzE,wBAAgB,aAAa,IAAI;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAExE;AAED,6FAA6F;AAC7F,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,IAAI,MAAM,GAAG,SAAS,CAEnD;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CA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,aAAa,CAAC,CAAC,EACnC,OAAO,EAAE,oBAAoB,EAC7B,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,GACvB,OAAO,CAAC,CAAC,CAAC,CAyBZ;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,OAAO,EAAE,oBAAoB,EAC7B,EAAE,EAAE,MAAM,CAAC,GACV,CAAC,CAyBH"}
package/dist/context.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AsyncLocalStorage } from "node:async_hooks";
2
2
  import { trace, SpanStatusCode } from "@opentelemetry/api";
3
+ import { log } from "./logger.js";
3
4
  const agentIdStore = new AsyncLocalStorage();
4
5
  /**
5
6
  * The prompt version + type last fetched via getPrompt(), used as a fallback so spans can be
@@ -31,6 +32,69 @@ export function clearLastPrompt() {
31
32
  export function currentAgentId() {
32
33
  return agentIdStore.getStore();
33
34
  }
35
+ /**
36
+ * COA-2636, under COA-2634. An agent that does not say which version it is, is an agent whose
37
+ * decisions cannot be attributed to a build — in a governance product that is the difference between
38
+ * "this decision came from this version of the system" and "it came from something". Measured
39
+ * 24/09/2026: the `golden-advisor` ran unversioned from 19/08 to 09/09 and only surfaced in a
40
+ * hand-written sweep. Nobody who instrumented it was ever told.
41
+ *
42
+ * Word for word the Python SDK's `MISSING_VERSION_GUIDANCE`, and `test_sdk_parity.py` fails if the
43
+ * two drift: one SDK that warns and one that does not is the same agent instrumented the same way
44
+ * getting different advice depending on which language it is written in.
45
+ *
46
+ * No date and no version number in this text: publishing one is a promise to every customer on npm,
47
+ * and that is Jorge's call, not the SDK's. When he picks them, they go here and in
48
+ * `packages/sdk-python/src/coalex/context.py` in the same words.
49
+ */
50
+ export function missingVersionGuidance(agentId) {
51
+ return (`coalexContext({ agentId: ${JSON.stringify(agentId)} }) was called without \`version\`. ` +
52
+ "A trace with no agent version cannot be attributed to a build, so this agent's decisions are " +
53
+ "recorded against the version `unknown` and cannot be tied to the code that made them. " +
54
+ "Pass version: <the build you are running>. `version` will become required in a future major " +
55
+ "release of the Coalex SDK.");
56
+ }
57
+ /**
58
+ * Which agents this process has already been warned about.
59
+ *
60
+ * **The dedup key is the agentId, and nothing finer.** Per call site or per requestId is no dedup at
61
+ * all — an agent serving a thousand requests would write a thousand identical lines into the logs of
62
+ * the person we are trying to help, and a warning that floods is a warning that gets filtered out
63
+ * within the hour, which is worse than never having existed. Coarser — one warning per process —
64
+ * would name whichever agent happened to run first and hide every other unversioned agent in a
65
+ * process that hosts several, and hiding them is the defect this exists to end.
66
+ *
67
+ * Process-global, and shared by `coalexContext` and `coalexContextSync`: the two are one call in the
68
+ * customer's head, so reaching for the other overload must not buy a second copy of the same line.
69
+ */
70
+ const warnedMissingVersion = new Set();
71
+ /**
72
+ * A caller that puts a unique value in `agentId` (a request id, a session id) would otherwise grow
73
+ * that set without bound inside an SDK whose only job is to be unobtrusive. A process that has been
74
+ * told about this many distinct agents has been told.
75
+ */
76
+ const MISSING_VERSION_WARNING_CAP = 256;
77
+ /** Forget which agents have been warned about. For tests; the registry is process-global. */
78
+ export function resetVersionWarnings() {
79
+ warnedMissingVersion.clear();
80
+ }
81
+ /**
82
+ * Warn once per agent that no `version` was given.
83
+ *
84
+ * Through `log.warn`, never a bare `console.warn`: COA-2192 made every diagnostic in this SDK
85
+ * routable into the host's own logging and silenceable with `register({ logger: null })`, and a
86
+ * library that writes unconditionally to a production service's stderr is a defect on its own.
87
+ */
88
+ function warnMissingVersion(options) {
89
+ if (options.version !== undefined)
90
+ return;
91
+ if (warnedMissingVersion.has(options.agentId))
92
+ return;
93
+ if (warnedMissingVersion.size >= MISSING_VERSION_WARNING_CAP)
94
+ return;
95
+ warnedMissingVersion.add(options.agentId);
96
+ log.warn(missingVersionGuidance(options.agentId));
97
+ }
34
98
  function buildInvocationAttributes(options) {
35
99
  const attrs = { "coalex.agent_id": options.agentId };
36
100
  if (options.requestId !== undefined) {
@@ -64,6 +128,7 @@ function applyPromptFallback(options) {
64
128
  }
65
129
  export async function coalexContext(options, fn) {
66
130
  const tracer = trace.getTracer("coalex");
131
+ warnMissingVersion(options);
67
132
  const attrs = buildInvocationAttributes(options);
68
133
  const restorePrompt = applyPromptFallback(options);
69
134
  try {
@@ -89,6 +154,7 @@ export async function coalexContext(options, fn) {
89
154
  }
90
155
  export function coalexContextSync(options, fn) {
91
156
  const tracer = trace.getTracer("coalex");
157
+ warnMissingVersion(options);
92
158
  const attrs = buildInvocationAttributes(options);
93
159
  const restorePrompt = applyPromptFallback(options);
94
160
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,YAAY,GAAG,IAAI,iBAAiB,EAAU,CAAC;AAErD;;;;;;;GAOG;AACH,IAAI,WAAW,GAA6C,IAAI,CAAC;AAEjE,sFAAsF;AACtF,MAAM,UAAU,aAAa,CAAC,OAAe,EAAE,IAAY;IACzD,WAAW,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAClC,CAAC;AAED,yEAAyE;AACzE,MAAM,UAAU,aAAa;IAC3B,OAAO,WAAW,CAAC;AACrB,CAAC;AAED,6FAA6F;AAC7F,MAAM,UAAU,eAAe;IAC7B,WAAW,GAAG,IAAI,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,YAAY,CAAC,QAAQ,EAAE,CAAC;AACjC,CAAC;AAiBD,SAAS,yBAAyB,CAAC,OAA6B;IAC9D,MAAM,KAAK,GAAoC,EAAE,iBAAiB,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC;IACtF,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;QACpC,KAAK,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,SAAS,CAAC;IACjD,CAAC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EAAE,CAC5C,MAAM,CAAC,eAAe,CAAC,mBAAmB,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE;YAC1E,IAAI,CAAC;gBACH,MAAM,MAAM,GAAG,EAAE,EAAE,CAAC;gBACpB,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,EAAE,CAAC,CAAC;gBAC5C,OAAO,MAAM,CAAC;YAChB,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACX,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;gBACnE,IAAI,CAAC,eAAe,CAAC,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACpE,MAAM,CAAC,CAAC;YACV,CAAC;oBAAS,CAAC;gBACT,IAAI,CAAC,GAAG,EAAE,CAAC;YACb,CAAC;QACH,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;YAAS,CAAC;QACT,aAAa,EAAE,CAAC;IAClB,CAAC;AACH,CAAC"}
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.25.0";
1
+ export declare const VERSION = "1.26.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // SDK version, sent in the X-SDK-Version header so the platform can see which
2
2
  // SDK releases customers run before removing a deprecated field (COA-261).
3
3
  // Keep in sync with package.json "version".
4
- export const VERSION = "1.25.0";
4
+ export const VERSION = "1.26.0";
5
5
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coalex-ai/sdk",
3
- "version": "1.25.0",
3
+ "version": "1.26.0-beta.646",
4
4
  "description": "Coalex TypeScript SDK for AI governance observability",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {