@ycodium-ai/plugin-api 0.2.4059 → 0.2.4073
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 +6 -2
- package/dist/dataPorts.gen.d.ts +5 -1
- package/dist/dataPorts.gen.d.ts.map +1 -1
- package/dist/version.d.ts +3 -3
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ import { definePlugin } from "@ycodium-ai/plugin-api";
|
|
|
61
61
|
|
|
62
62
|
export default definePlugin({
|
|
63
63
|
id: "my-plugin",
|
|
64
|
-
apiVersion:
|
|
64
|
+
apiVersion: 90,
|
|
65
65
|
activate: (ctx) => {
|
|
66
66
|
ctx.log.info("hello");
|
|
67
67
|
|
|
@@ -352,7 +352,11 @@ update against the new types and republish.
|
|
|
352
352
|
|
|
353
353
|
<!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
|
|
354
354
|
|
|
355
|
-
The current API is **
|
|
355
|
+
The current API is **90**. This Ycodium loads only plugins declaring 90.
|
|
356
|
+
|
|
357
|
+
API 90 removes `localProjectId` from the `projects.machines.join` input. A machine that joins another machine's project no longer stores which local project its member work runs in; the host picks it when the work is dispatched (the machine's same-id copy of the project when it has an attached folder, otherwise its general conversation project). The port is operator-only, so a plugin call could not succeed before either; only the declared input type changes.
|
|
358
|
+
|
|
359
|
+
API 89 adds optional `observability.fullTraceUntil` to `machineSettings.get` and `machineSettings.update`. The update patch also gains optional `observability.fullTraceForMs`, a duration command that the server converts to a deadline using its own clock without persisting the command. `machineSettings.config.get` gains optional `observability.localTraceFullForced` to report full recording forced by the machine's environment variable.
|
|
356
360
|
|
|
357
361
|
API 88 `ConversationToolPresentation` gains the optional `experienceId`: rows for tools that read or revise a project experience name it, and the conversation plugin shows that experience's title (through `useMemoryExperience`) after the row title. When the title can't be read, the row shows no summary rather than the id.
|
|
358
362
|
|
package/dist/dataPorts.gen.d.ts
CHANGED
|
@@ -559,6 +559,7 @@ type Objects_83 = {
|
|
|
559
559
|
readonly "otlpTracesUrl": string;
|
|
560
560
|
readonly "otlpMetricsUrl": string;
|
|
561
561
|
readonly "otlpLogsUrl": string;
|
|
562
|
+
readonly "fullTraceUntil"?: number;
|
|
562
563
|
};
|
|
563
564
|
type Arrays_15 = ReadonlyArray<"desktop-bootstrap" | "one-time-token">;
|
|
564
565
|
type Arrays_16 = ReadonlyArray<"browser-session-cookie" | "bearer-access-token" | "dpop-access-token">;
|
|
@@ -2974,7 +2975,6 @@ export type ProjectsMachinesRemoveOutput = {
|
|
|
2974
2975
|
export type ProjectsMachinesJoinInput = {
|
|
2975
2976
|
readonly "homeUrl": string;
|
|
2976
2977
|
readonly "code": string;
|
|
2977
|
-
readonly "localProjectId": string;
|
|
2978
2978
|
readonly "projectId"?: string;
|
|
2979
2979
|
readonly "allowInsecureHttp"?: boolean;
|
|
2980
2980
|
readonly "homeEnvironmentId"?: string;
|
|
@@ -4309,6 +4309,8 @@ export type MachineSettingsUpdateInput = {
|
|
|
4309
4309
|
readonly "otlpTracesUrl"?: string;
|
|
4310
4310
|
readonly "otlpMetricsUrl"?: string;
|
|
4311
4311
|
readonly "otlpLogsUrl"?: string;
|
|
4312
|
+
readonly "fullTraceUntil"?: number;
|
|
4313
|
+
readonly "fullTraceForMs"?: number;
|
|
4312
4314
|
};
|
|
4313
4315
|
readonly "providerInstances"?: {
|
|
4314
4316
|
readonly [x: string]: {
|
|
@@ -4516,6 +4518,7 @@ export type MachineSettingsConfigGetOutput = {
|
|
|
4516
4518
|
readonly "otlpMetricsEnabled": boolean;
|
|
4517
4519
|
readonly "otlpLogsUrl"?: string;
|
|
4518
4520
|
readonly "otlpLogsEnabled": boolean;
|
|
4521
|
+
readonly "localTraceFullForced"?: boolean;
|
|
4519
4522
|
};
|
|
4520
4523
|
readonly "runtimeMaintenanceRoot"?: string;
|
|
4521
4524
|
};
|
|
@@ -8176,6 +8179,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
|
|
|
8176
8179
|
readonly "otlpMetricsEnabled": boolean;
|
|
8177
8180
|
readonly "otlpLogsUrl"?: string;
|
|
8178
8181
|
readonly "otlpLogsEnabled"?: boolean | undefined;
|
|
8182
|
+
readonly "localTraceFullForced"?: boolean;
|
|
8179
8183
|
};
|
|
8180
8184
|
readonly "runtimeMaintenanceRoot"?: string;
|
|
8181
8185
|
};
|