@tangle-network/agent-interface 2.18.0 → 2.20.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 +28 -4
- package/dist/harness-capabilities.d.ts +66 -3
- package/dist/harness-capabilities.js +127 -10
- package/dist/profile-kb/entry.d.ts +12 -0
- package/dist/profile-kb/entry.js +20 -0
- package/dist/profile-kb/harnesses.d.ts +1 -7
- package/dist/profile-kb/harnesses.js +66 -105
- package/dist/profile-kb/index.d.ts +2 -2
- package/dist/profile-kb/index.js +4 -4
- package/dist/profile-kb/models.d.ts +1 -7
- package/dist/profile-kb/models.js +161 -311
- package/dist/profile-kb/records.d.ts +2 -2
- package/dist/profile-kb/records.js +12 -10
- package/dist/profile-kb/types.d.ts +18 -5
- package/package.json +1 -1
|
@@ -6,16 +6,16 @@ const CHECKED = "2026-09-22";
|
|
|
6
6
|
*/
|
|
7
7
|
export const profileKbLearnings = [];
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Historical naming and availability checks from 2026-09-22. Their dates and
|
|
10
|
+
* observations are retained; they do not establish current service or identity.
|
|
11
11
|
*/
|
|
12
12
|
export const profileKbDiscrepancies = [
|
|
13
13
|
{
|
|
14
14
|
subject: "OpenAI Codex models",
|
|
15
15
|
requested: "gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna as the current Codex models",
|
|
16
|
-
observed: "OpenAI's Codex model page
|
|
17
|
-
"codex-cli 0.156.1 on a ChatGPT account
|
|
18
|
-
"
|
|
16
|
+
observed: "On 2026-09-22, OpenAI's Codex model page listed GPT-6 Astra, GPT-6 Sol, and GPT-6 Luna as current. " +
|
|
17
|
+
"The check notes recorded OK replies for all three with codex-cli 0.156.1 on a ChatGPT account, and labelled the gpt-5.6 tiers 'Older'. " +
|
|
18
|
+
"Those response checks did not establish served identity, task quality, or availability today.",
|
|
19
19
|
sources: [
|
|
20
20
|
{ url: "https://learn.chatgpt.com/docs/models", checkedAt: CHECKED },
|
|
21
21
|
{
|
|
@@ -28,9 +28,9 @@ export const profileKbDiscrepancies = [
|
|
|
28
28
|
{
|
|
29
29
|
subject: "DeepSeek V4.1 Pro",
|
|
30
30
|
requested: "DeepSeek V4.1 Pro",
|
|
31
|
-
observed: "
|
|
32
|
-
"deepseek-v4-pro to DeepSeek-V4-Pro-0813,
|
|
33
|
-
"
|
|
31
|
+
observed: "The sources checked on 2026-09-22 documented V4.1 Flash, released 2026-09-10, but did not establish a V4.1 Pro model. " +
|
|
32
|
+
"The changelog said the V4 Pro API continued; pricing mapped deepseek-v4-pro to DeepSeek-V4-Pro-0813, while the Flash announcement said it routed to V4.1 Flash from 2026-09-14. " +
|
|
33
|
+
"The router check recorded HTTP 503 (provider quota exhausted) for deepseek-v4-pro; it did not resolve that source disagreement.",
|
|
34
34
|
sources: [
|
|
35
35
|
{ url: "https://api-docs.deepseek.com/updates/", checkedAt: CHECKED },
|
|
36
36
|
{ url: "https://api-docs.deepseek.com/quick_start/pricing", checkedAt: CHECKED },
|
|
@@ -40,7 +40,8 @@ export const profileKbDiscrepancies = [
|
|
|
40
40
|
{
|
|
41
41
|
subject: "DeepSeek V4.1 Flash router id",
|
|
42
42
|
requested: "deepseek-flash (the vendor id)",
|
|
43
|
-
observed: "
|
|
43
|
+
observed: "The 2026-09-22 Tangle router check recorded HTTP 503 (provider_pricing_unavailable) for deepseek-flash and HTTP 200 for deepseek/deepseek-v4.1-flash. " +
|
|
44
|
+
"These statuses did not establish served identity or current availability.",
|
|
44
45
|
sources: [
|
|
45
46
|
{
|
|
46
47
|
url: "https://router.tangle.tools/v1/chat/completions",
|
|
@@ -51,7 +52,8 @@ export const profileKbDiscrepancies = [
|
|
|
51
52
|
{
|
|
52
53
|
subject: "GPT-6 Pro",
|
|
53
54
|
requested: "GPT-6 Pro in ChatGPT",
|
|
54
|
-
observed: "OpenAI's
|
|
55
|
+
observed: "The 2026-09-22 check recorded OpenAI's description of GPT-6 Pro as a ChatGPT mode powered by GPT-6 Astra. " +
|
|
56
|
+
"That check did not establish a separate API model id for the ChatGPT mode.",
|
|
55
57
|
sources: [
|
|
56
58
|
{
|
|
57
59
|
url: "https://help.openai.com/en/articles/20001354-gpt-56-and-gpt-6-pro-in-chatgpt",
|
|
@@ -7,6 +7,17 @@ export interface ProfileKbSource {
|
|
|
7
7
|
checkedAt: string;
|
|
8
8
|
/** What the source is, when the URL alone does not say. */
|
|
9
9
|
note?: string;
|
|
10
|
+
/** Authority of the source, independent of whether its claim is advice or a measured result. */
|
|
11
|
+
authority?: "primary" | "secondary" | "local";
|
|
12
|
+
/** Section, source lines, or retained artifact locator supporting the claim. */
|
|
13
|
+
locator?: string;
|
|
14
|
+
}
|
|
15
|
+
/** A short claim with its qualifications in text, so composition cannot strip them. */
|
|
16
|
+
export interface ProfileKbClaim {
|
|
17
|
+
text: string;
|
|
18
|
+
basis: "documented" | "vendor-guidance" | "local-observation" | "hypothesis";
|
|
19
|
+
audience: "agent" | "operator";
|
|
20
|
+
sources: [ProfileKbSource, ...ProfileKbSource[]];
|
|
10
21
|
}
|
|
11
22
|
/**
|
|
12
23
|
* How to get the best from one harness.
|
|
@@ -18,20 +29,21 @@ export interface ProfileKbSource {
|
|
|
18
29
|
export interface ProfileKbHarness {
|
|
19
30
|
id: HarnessType;
|
|
20
31
|
name: string;
|
|
21
|
-
/**
|
|
32
|
+
/** Version of the checked CLI or upstream source; claim citations distinguish installation from documentation. */
|
|
22
33
|
version: string;
|
|
23
34
|
sources: ProfileKbSource[];
|
|
24
35
|
prompt: string[];
|
|
25
36
|
operator: string[];
|
|
37
|
+
/** Canonical claims; prompt/operator are projections retained for existing consumers. */
|
|
38
|
+
claims?: ProfileKbClaim[];
|
|
26
39
|
}
|
|
27
40
|
/** Where a model is reached. A model id means different things on each surface. */
|
|
28
41
|
export type ProfileKbSurface = "api" | "codex" | "chatgpt" | "router";
|
|
29
42
|
/**
|
|
30
43
|
* How to get the best from one model.
|
|
31
44
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* another.
|
|
45
|
+
* API facts, dated observations, and conditional vendor guidance. Sources
|
|
46
|
+
* establish their stated surface, not current availability or task quality.
|
|
35
47
|
*/
|
|
36
48
|
export interface ProfileKbModel {
|
|
37
49
|
/** Canonical vendor id. */
|
|
@@ -41,11 +53,12 @@ export interface ProfileKbModel {
|
|
|
41
53
|
surfaces: ProfileKbSurface[];
|
|
42
54
|
/** Other spellings that resolve to this model: router ids, harness aliases. */
|
|
43
55
|
aliases: string[];
|
|
44
|
-
/**
|
|
56
|
+
/** Documented API default mapped onto the portable scale (ultracode means max); harness defaults can differ. */
|
|
45
57
|
defaultEffort?: ReasoningEffort;
|
|
46
58
|
sources: ProfileKbSource[];
|
|
47
59
|
prompt: string[];
|
|
48
60
|
operator: string[];
|
|
61
|
+
claims?: ProfileKbClaim[];
|
|
49
62
|
}
|
|
50
63
|
/**
|
|
51
64
|
* A lesson this platform learned itself. It enters the knowledge base only
|