@kinotic-ai/system-api 5.0.0-beta.31 → 5.0.0-beta.33
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 +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @kinotic-ai/system-api
|
|
2
2
|
|
|
3
3
|
Client API for the Kinotic platform's **system plane**: the node and workload orchestration
|
|
4
|
-
services addressed in the `system` zone. Consumed by
|
|
4
|
+
services addressed in the `system` zone. Consumed by system machines (the vm-manager) and
|
|
5
5
|
system tooling — never by customer applications.
|
|
6
6
|
|
|
7
7
|
```typescript
|
package/dist/index.d.cts
CHANGED
|
@@ -159,13 +159,13 @@ declare enum LlmProviderType {
|
|
|
159
159
|
OPENAI = "OPENAI"
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* A large language model the
|
|
162
|
+
* A large language model the system's services call: the provider, the model, where the provider's API is
|
|
163
163
|
* reached and the options each request carries. The API key the provider is called with is held in the secret
|
|
164
164
|
* storage and is never a field of the configuration; apiKeyHeld says whether one is held.
|
|
165
165
|
*/
|
|
166
166
|
declare class LlmConfiguration {
|
|
167
167
|
id: string | null;
|
|
168
|
-
/** The name a service selects the configuration by, unique
|
|
168
|
+
/** The name a service selects the configuration by, unique in the system. */
|
|
169
169
|
name: string;
|
|
170
170
|
provider: LlmProviderType;
|
|
171
171
|
/** The provider's id of the model, such as claude-opus-5-5. */
|
|
@@ -497,8 +497,8 @@ declare class SystemOrganizationService implements ISystemOrganizationService {
|
|
|
497
497
|
import { MachineParticipantIdentity, MachineProvisionResult, SystemParticipantIdentity } from "@kinotic-ai/management-api";
|
|
498
498
|
import { IKinotic as IKinotic7, Page as Page4, Pageable as Pageable4 } from "@kinotic-ai/core";
|
|
499
499
|
/**
|
|
500
|
-
* The
|
|
501
|
-
* SYSTEM-scope machines that connect as
|
|
500
|
+
* The system's own members: the system users who sign in to the system console, and the
|
|
501
|
+
* SYSTEM-scope machines that connect as system daemons, such as a worker node's vm-manager.
|
|
502
502
|
* Published in the system zone, which only SYSTEM participants may address; every method works
|
|
503
503
|
* on SYSTEM scope alone, so an organization's users and machines stay that organization's to
|
|
504
504
|
* manage through IMachineService.
|
|
@@ -506,26 +506,26 @@ import { IKinotic as IKinotic7, Page as Page4, Pageable as Pageable4 } from "@ki
|
|
|
506
506
|
interface ISystemMemberService {
|
|
507
507
|
findUsers(pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
|
|
508
508
|
searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
|
|
509
|
-
/** Lists the
|
|
509
|
+
/** Lists the system's machines, disabled ones included. */
|
|
510
510
|
findMachines(pageable: Pageable4): Promise<Page4<MachineParticipantIdentity>>;
|
|
511
511
|
/**
|
|
512
|
-
* Provisions a
|
|
512
|
+
* Provisions a system machine and returns it together with its generated client secret.
|
|
513
513
|
* The secret is disclosed exactly once — it cannot be retrieved later.
|
|
514
514
|
*/
|
|
515
515
|
createMachine(displayName: string): Promise<MachineProvisionResult>;
|
|
516
516
|
/**
|
|
517
|
-
* Replaces a
|
|
517
|
+
* Replaces a system machine's client secret, returning the new secret exactly once. The
|
|
518
518
|
* old secret stops working immediately; a connection the machine already holds lasts until
|
|
519
519
|
* it disconnects.
|
|
520
520
|
*/
|
|
521
521
|
rotateSecret(machineId: string): Promise<string>;
|
|
522
522
|
/**
|
|
523
|
-
* Enables or disables a
|
|
523
|
+
* Enables or disables a system machine. A disabled machine is cut off on its next
|
|
524
524
|
* connection, and enabling it restores access with the same credential.
|
|
525
525
|
*/
|
|
526
526
|
setMachineEnabled(machineId: string, enabled: boolean): Promise<void>;
|
|
527
527
|
/**
|
|
528
|
-
* Permanently removes a
|
|
528
|
+
* Permanently removes a system machine, including its stored credential. A removed
|
|
529
529
|
* machine's id cannot authenticate again.
|
|
530
530
|
*/
|
|
531
531
|
removeMachine(machineId: string): Promise<void>;
|
|
@@ -565,10 +565,10 @@ declare class WatchEventService implements IWatchEventService {
|
|
|
565
565
|
}
|
|
566
566
|
import { IKinotic as IKinotic9, Page as Page5, Pageable as Pageable6 } from "@kinotic-ai/core";
|
|
567
567
|
/**
|
|
568
|
-
* The large language models the
|
|
569
|
-
* manage and a service selects by name. A configuration's API key is given on save and held in the
|
|
568
|
+
* The large language models the system's services call, each an LlmConfiguration that system users
|
|
569
|
+
* manage and a service selects by name. A configuration's API key is given on save and held in the system's
|
|
570
570
|
* scope of the secret storage until a save gives another or the configuration is deleted. Published in the
|
|
571
|
-
* system zone, which only SYSTEM participants and the
|
|
571
|
+
* system zone, which only SYSTEM participants and the system's own cluster members may address.
|
|
572
572
|
*/
|
|
573
573
|
interface ILlmConfigurationService {
|
|
574
574
|
findAll(pageable: Pageable6): Promise<Page5<LlmConfiguration>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -159,13 +159,13 @@ declare enum LlmProviderType {
|
|
|
159
159
|
OPENAI = "OPENAI"
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* A large language model the
|
|
162
|
+
* A large language model the system's services call: the provider, the model, where the provider's API is
|
|
163
163
|
* reached and the options each request carries. The API key the provider is called with is held in the secret
|
|
164
164
|
* storage and is never a field of the configuration; apiKeyHeld says whether one is held.
|
|
165
165
|
*/
|
|
166
166
|
declare class LlmConfiguration {
|
|
167
167
|
id: string | null;
|
|
168
|
-
/** The name a service selects the configuration by, unique
|
|
168
|
+
/** The name a service selects the configuration by, unique in the system. */
|
|
169
169
|
name: string;
|
|
170
170
|
provider: LlmProviderType;
|
|
171
171
|
/** The provider's id of the model, such as claude-opus-5-5. */
|
|
@@ -497,8 +497,8 @@ declare class SystemOrganizationService implements ISystemOrganizationService {
|
|
|
497
497
|
import { MachineParticipantIdentity, MachineProvisionResult, SystemParticipantIdentity } from "@kinotic-ai/management-api";
|
|
498
498
|
import { IKinotic as IKinotic7, Page as Page4, Pageable as Pageable4 } from "@kinotic-ai/core";
|
|
499
499
|
/**
|
|
500
|
-
* The
|
|
501
|
-
* SYSTEM-scope machines that connect as
|
|
500
|
+
* The system's own members: the system users who sign in to the system console, and the
|
|
501
|
+
* SYSTEM-scope machines that connect as system daemons, such as a worker node's vm-manager.
|
|
502
502
|
* Published in the system zone, which only SYSTEM participants may address; every method works
|
|
503
503
|
* on SYSTEM scope alone, so an organization's users and machines stay that organization's to
|
|
504
504
|
* manage through IMachineService.
|
|
@@ -506,26 +506,26 @@ import { IKinotic as IKinotic7, Page as Page4, Pageable as Pageable4 } from "@ki
|
|
|
506
506
|
interface ISystemMemberService {
|
|
507
507
|
findUsers(pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
|
|
508
508
|
searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
|
|
509
|
-
/** Lists the
|
|
509
|
+
/** Lists the system's machines, disabled ones included. */
|
|
510
510
|
findMachines(pageable: Pageable4): Promise<Page4<MachineParticipantIdentity>>;
|
|
511
511
|
/**
|
|
512
|
-
* Provisions a
|
|
512
|
+
* Provisions a system machine and returns it together with its generated client secret.
|
|
513
513
|
* The secret is disclosed exactly once — it cannot be retrieved later.
|
|
514
514
|
*/
|
|
515
515
|
createMachine(displayName: string): Promise<MachineProvisionResult>;
|
|
516
516
|
/**
|
|
517
|
-
* Replaces a
|
|
517
|
+
* Replaces a system machine's client secret, returning the new secret exactly once. The
|
|
518
518
|
* old secret stops working immediately; a connection the machine already holds lasts until
|
|
519
519
|
* it disconnects.
|
|
520
520
|
*/
|
|
521
521
|
rotateSecret(machineId: string): Promise<string>;
|
|
522
522
|
/**
|
|
523
|
-
* Enables or disables a
|
|
523
|
+
* Enables or disables a system machine. A disabled machine is cut off on its next
|
|
524
524
|
* connection, and enabling it restores access with the same credential.
|
|
525
525
|
*/
|
|
526
526
|
setMachineEnabled(machineId: string, enabled: boolean): Promise<void>;
|
|
527
527
|
/**
|
|
528
|
-
* Permanently removes a
|
|
528
|
+
* Permanently removes a system machine, including its stored credential. A removed
|
|
529
529
|
* machine's id cannot authenticate again.
|
|
530
530
|
*/
|
|
531
531
|
removeMachine(machineId: string): Promise<void>;
|
|
@@ -565,10 +565,10 @@ declare class WatchEventService implements IWatchEventService {
|
|
|
565
565
|
}
|
|
566
566
|
import { IKinotic as IKinotic9, Page as Page5, Pageable as Pageable6 } from "@kinotic-ai/core";
|
|
567
567
|
/**
|
|
568
|
-
* The large language models the
|
|
569
|
-
* manage and a service selects by name. A configuration's API key is given on save and held in the
|
|
568
|
+
* The large language models the system's services call, each an LlmConfiguration that system users
|
|
569
|
+
* manage and a service selects by name. A configuration's API key is given on save and held in the system's
|
|
570
570
|
* scope of the secret storage until a save gives another or the configuration is deleted. Published in the
|
|
571
|
-
* system zone, which only SYSTEM participants and the
|
|
571
|
+
* system zone, which only SYSTEM participants and the system's own cluster members may address.
|
|
572
572
|
*/
|
|
573
573
|
interface ILlmConfigurationService {
|
|
574
574
|
findAll(pageable: Pageable6): Promise<Page5<LlmConfiguration>>;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinotic-ai/system-api",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.33",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Client API for the Kinotic platform's system plane: the workload and node orchestration services
|
|
5
|
+
"description": "Client API for the Kinotic platform's system plane: the workload and node orchestration services system machines and operators use.",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"coverage": "bun test --coverage --pass-with-no-tests"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@kinotic-ai/core": "^5.0.0-beta.
|
|
42
|
-
"@kinotic-ai/management-api": "^5.0.0-beta.
|
|
41
|
+
"@kinotic-ai/core": "^5.0.0-beta.29",
|
|
42
|
+
"@kinotic-ai/management-api": "^5.0.0-beta.67"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@kinotic-ai/core": "5.0.0-beta.
|
|
46
|
-
"@kinotic-ai/management-api": "5.0.0-beta.
|
|
45
|
+
"@kinotic-ai/core": "5.0.0-beta.29",
|
|
46
|
+
"@kinotic-ai/management-api": "5.0.0-beta.67",
|
|
47
47
|
"@types/bun": "^1.3.9",
|
|
48
48
|
"typescript": "^5.9.3"
|
|
49
49
|
}
|