@kindgi/client 0.1.5-rc.0 → 0.1.5
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/index.d.cts +13 -8
- package/dist/index.d.ts +13 -8
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -1413,8 +1413,11 @@ export interface PromptParameter {
|
|
|
1413
1413
|
* end user's):
|
|
1414
1414
|
* - `same-conversation`: this conversation's facts.
|
|
1415
1415
|
* - `same-user`: the facts of this run's end user (the
|
|
1416
|
-
* conversation's participant)
|
|
1417
|
-
*
|
|
1416
|
+
* conversation's participant) only. None in a
|
|
1417
|
+
* run that names no end user (`participantId`);
|
|
1418
|
+
* never facts keyed to the user a credential
|
|
1419
|
+
* acts for, which may serve many people (the
|
|
1420
|
+
* turn says so: `memory-needs-participant`).
|
|
1418
1421
|
* - `same-project`: the run's project's facts; none in a run
|
|
1419
1422
|
* without a project.
|
|
1420
1423
|
* - `tenant`: any fact of the declared type the run may see.
|
|
@@ -1433,8 +1436,9 @@ export interface RetrievalIntent {
|
|
|
1433
1436
|
* What it reads: `facts` (the default), or `conversations`: messages of
|
|
1434
1437
|
* this agent's earlier conversations, quoted in the turn's `<memory>`
|
|
1435
1438
|
* block as earlier conversations, never as turns. For conversations:
|
|
1436
|
-
* - `same-user` (the usual choice): this end user's
|
|
1437
|
-
* conversations;
|
|
1439
|
+
* - `same-user` (the usual choice): this end user's other
|
|
1440
|
+
* conversations; none in a run that names no end user
|
|
1441
|
+
* (`participantId`);
|
|
1438
1442
|
* - `same-conversation`: this conversation's messages older than the
|
|
1439
1443
|
* history window;
|
|
1440
1444
|
* - `same-segment`: conversations in the run's segment path (the same
|
|
@@ -1479,9 +1483,10 @@ export interface AgentMemoryPolicy {
|
|
|
1479
1483
|
}
|
|
1480
1484
|
/**
|
|
1481
1485
|
* Where an agent's remembered facts go, always within its run:
|
|
1482
|
-
* - `same-user`: the conversation's end user
|
|
1483
|
-
*
|
|
1484
|
-
*
|
|
1486
|
+
* - `same-user`: the conversation's end user. A run that
|
|
1487
|
+
* names none (`participantId`) isn't offered
|
|
1488
|
+
* the tool: the user a credential acts for may
|
|
1489
|
+
* serve many people;
|
|
1485
1490
|
* - `same-conversation`: this conversation;
|
|
1486
1491
|
* - `same-project`: the run's project (a person approves each
|
|
1487
1492
|
* one first);
|
|
@@ -3745,7 +3750,7 @@ declare namespace Schemas {
|
|
|
3745
3750
|
*/
|
|
3746
3751
|
roles?: Array<"user" | "agent">;
|
|
3747
3752
|
/**
|
|
3748
|
-
* What the intent selects within what the run may see. Facts: this conversation's;
|
|
3753
|
+
* What the intent selects within what the run may see. Facts: this conversation's; the run's end user's only (`same-user`: none when the run names no `participantId`); the run's project's (none without a project); or every fact of the type it may see (`tenant`). Conversations: this end user's other conversations with the agent (`same-user`: none when the run names no `participantId`); this conversation's messages older than the history window (`same-conversation`); conversations in the run's segment path (`same-segment`) or its project (`same-project`), whoever had them: those two quote other people's conversations, so publishing warns and their messages are marked as another person's. `same-segment` is for conversations only, `tenant` for facts only.
|
|
3749
3754
|
*/
|
|
3750
3755
|
scope: "same-conversation" | "same-user" | "same-segment" | "same-project" | "tenant";
|
|
3751
3756
|
limit?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1413,8 +1413,11 @@ export interface PromptParameter {
|
|
|
1413
1413
|
* end user's):
|
|
1414
1414
|
* - `same-conversation`: this conversation's facts.
|
|
1415
1415
|
* - `same-user`: the facts of this run's end user (the
|
|
1416
|
-
* conversation's participant)
|
|
1417
|
-
*
|
|
1416
|
+
* conversation's participant) only. None in a
|
|
1417
|
+
* run that names no end user (`participantId`);
|
|
1418
|
+
* never facts keyed to the user a credential
|
|
1419
|
+
* acts for, which may serve many people (the
|
|
1420
|
+
* turn says so: `memory-needs-participant`).
|
|
1418
1421
|
* - `same-project`: the run's project's facts; none in a run
|
|
1419
1422
|
* without a project.
|
|
1420
1423
|
* - `tenant`: any fact of the declared type the run may see.
|
|
@@ -1433,8 +1436,9 @@ export interface RetrievalIntent {
|
|
|
1433
1436
|
* What it reads: `facts` (the default), or `conversations`: messages of
|
|
1434
1437
|
* this agent's earlier conversations, quoted in the turn's `<memory>`
|
|
1435
1438
|
* block as earlier conversations, never as turns. For conversations:
|
|
1436
|
-
* - `same-user` (the usual choice): this end user's
|
|
1437
|
-
* conversations;
|
|
1439
|
+
* - `same-user` (the usual choice): this end user's other
|
|
1440
|
+
* conversations; none in a run that names no end user
|
|
1441
|
+
* (`participantId`);
|
|
1438
1442
|
* - `same-conversation`: this conversation's messages older than the
|
|
1439
1443
|
* history window;
|
|
1440
1444
|
* - `same-segment`: conversations in the run's segment path (the same
|
|
@@ -1479,9 +1483,10 @@ export interface AgentMemoryPolicy {
|
|
|
1479
1483
|
}
|
|
1480
1484
|
/**
|
|
1481
1485
|
* Where an agent's remembered facts go, always within its run:
|
|
1482
|
-
* - `same-user`: the conversation's end user
|
|
1483
|
-
*
|
|
1484
|
-
*
|
|
1486
|
+
* - `same-user`: the conversation's end user. A run that
|
|
1487
|
+
* names none (`participantId`) isn't offered
|
|
1488
|
+
* the tool: the user a credential acts for may
|
|
1489
|
+
* serve many people;
|
|
1485
1490
|
* - `same-conversation`: this conversation;
|
|
1486
1491
|
* - `same-project`: the run's project (a person approves each
|
|
1487
1492
|
* one first);
|
|
@@ -3745,7 +3750,7 @@ declare namespace Schemas {
|
|
|
3745
3750
|
*/
|
|
3746
3751
|
roles?: Array<"user" | "agent">;
|
|
3747
3752
|
/**
|
|
3748
|
-
* What the intent selects within what the run may see. Facts: this conversation's;
|
|
3753
|
+
* What the intent selects within what the run may see. Facts: this conversation's; the run's end user's only (`same-user`: none when the run names no `participantId`); the run's project's (none without a project); or every fact of the type it may see (`tenant`). Conversations: this end user's other conversations with the agent (`same-user`: none when the run names no `participantId`); this conversation's messages older than the history window (`same-conversation`); conversations in the run's segment path (`same-segment`) or its project (`same-project`), whoever had them: those two quote other people's conversations, so publishing warns and their messages are marked as another person's. `same-segment` is for conversations only, `tenant` for facts only.
|
|
3749
3754
|
*/
|
|
3750
3755
|
scope: "same-conversation" | "same-user" | "same-segment" | "same-project" | "tenant";
|
|
3751
3756
|
limit?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kindgi/client",
|
|
3
|
-
"version": "0.1.5
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "TypeScript client SDK for Kindgi™ — the sovereign AI OS. Preview: wire-generated from openapi.json via typed-openapi, ergonomic hand-authored resource clients (Transport, KindgiApiError, SSE with Last-Event-Id resume).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"zod": "^4.6.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@kindgi/agents": "0.1.5
|
|
49
|
-
"@kindgi/api": "0.1.5
|
|
50
|
-
"@kindgi/flow": "0.1.5
|
|
51
|
-
"@kindgi/platform": "0.1.5
|
|
52
|
-
"@kindgi/runtime": "0.1.5
|
|
53
|
-
"@kindgi/types": "0.1.5
|
|
48
|
+
"@kindgi/agents": "0.1.5",
|
|
49
|
+
"@kindgi/api": "0.1.5",
|
|
50
|
+
"@kindgi/flow": "0.1.5",
|
|
51
|
+
"@kindgi/platform": "0.1.5",
|
|
52
|
+
"@kindgi/runtime": "0.1.5",
|
|
53
|
+
"@kindgi/types": "0.1.5",
|
|
54
54
|
"@types/node": "^22.10.5",
|
|
55
55
|
"dts-bundle-generator": "^9.5.1",
|
|
56
56
|
"tsup": "^8.5.1",
|