@xpufx/paseo-top 0.4.3 → 0.4.4
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/client/pill-labels.ts +30 -6
- package/client/pill.tsx +40 -61
- package/client/settings-events.ts +33 -0
- package/client/surface.tsx +6 -2
- package/client/vendor/paseo-plugin-helper/components/Badge.tsx +12 -0
- package/client/vendor/paseo-plugin-helper/components/Button.tsx +22 -2
- package/client/vendor/paseo-plugin-helper/components/Card.tsx +32 -0
- package/client/vendor/paseo-plugin-helper/components/DataTable.tsx +17 -1
- package/client/vendor/paseo-plugin-helper/components/InlineButton.tsx +14 -1
- package/client/vendor/paseo-plugin-helper/components/InteractiveRow.tsx +142 -0
- package/client/vendor/paseo-plugin-helper/components/SearchInput.tsx +16 -2
- package/client/vendor/paseo-plugin-helper/components/SectionHeader.tsx +7 -0
- package/client/vendor/paseo-plugin-helper/components/Select.tsx +131 -63
- package/client/vendor/paseo-plugin-helper/components/index.ts +1 -0
- package/client/vendor/paseo-plugin-helper/custom-pills.tsx +4 -3
- package/client/vendor/paseo-plugin-helper/host.ts +12 -58
- package/client/vendor/paseo-plugin-helper/index.ts +1 -0
- package/client/vendor/paseo-plugin-helper/layout/ModalBody.tsx +17 -27
- package/client/vendor/paseo-plugin-helper/pill.tsx +68 -321
- package/client/vendor/paseo-plugin-helper/surface.tsx +62 -2
- package/client/vendor/paseo-plugin-helper/tickets.tsx +766 -0
- package/index.server.ts +7 -0
- package/package.json +11 -2
- package/server/vendor/paseo-plugin-helper/index.ts +2 -0
- package/server/vendor/paseo-plugin-helper/mcp-injection.ts +20 -2
- package/server/vendor/paseo-plugin-helper/plugins.ts +184 -19
- package/server/vendor/paseo-plugin-helper/tickets.ts +1281 -0
- package/shared/helper-version.ts +20 -0
- package/shared/multi-host.ts +11 -4
- package/shared/resources.ts +1 -1
- package/shared/vendor/paseo-plugin-helper/index.ts +1 -0
- package/shared/vendor/paseo-plugin-helper/tickets.ts +1010 -0
- package/shared/version.ts +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Declared paseo-plugin-helper expectation for top.
|
|
2
|
+
//
|
|
3
|
+
// This plugin carries a committed vendored helper tree, but its bare
|
|
4
|
+
// `paseo-plugin-helper/<tree>` imports still resolve through this checkout's
|
|
5
|
+
// tsconfig `paths` alias into ../../packages/paseo-plugin-helper/src, so part
|
|
6
|
+
// of what it runs comes from the checkout rather than from the copy it carries.
|
|
7
|
+
// Resolution is therefore "checkout", and this file records what that resolution is
|
|
8
|
+
// supposed to be, so scripts/helper-resolution.test.mjs can contradict it if the
|
|
9
|
+
// two ever disagree (#633, #649).
|
|
10
|
+
//
|
|
11
|
+
// HELPER_VERSION is the helper's own package.json `version` — the same value the
|
|
12
|
+
// vendored READMEs pin, not a scheme invented for this plugin.
|
|
13
|
+
// HELPER_REVISION is a content digest of packages/paseo-plugin-helper/src at
|
|
14
|
+
// stamp time. It is the authoritative check, and it is preferred over the
|
|
15
|
+
// checkout sha in shared/version.ts because a squash-merge deletes the very
|
|
16
|
+
// commit that sha names, orphaning it in every clean clone while it still
|
|
17
|
+
// resolves on any machine holding the branch worktree.
|
|
18
|
+
export const HELPER_VERSION = "0.4.0-beta.12";
|
|
19
|
+
export const HELPER_SERVED_FROM = "checkout";
|
|
20
|
+
export const HELPER_REVISION = "sha256:8ef1cb13c04a";
|
package/shared/multi-host.ts
CHANGED
|
@@ -133,9 +133,16 @@ export function aggregateFleet(
|
|
|
133
133
|
return aggregate;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
export const DEFAULT_MULTI_HOST_INTERVAL_MS = 15_000;
|
|
137
|
+
export const DEFAULT_MULTI_HOST_TIMEOUT_MS = 4_000;
|
|
138
|
+
|
|
136
139
|
export class MultiHostPoller {
|
|
137
|
-
static
|
|
138
|
-
|
|
140
|
+
static get DEFAULT_INTERVAL_MS(): number {
|
|
141
|
+
return DEFAULT_MULTI_HOST_INTERVAL_MS;
|
|
142
|
+
}
|
|
143
|
+
static get DEFAULT_TIMEOUT_MS(): number {
|
|
144
|
+
return DEFAULT_MULTI_HOST_TIMEOUT_MS;
|
|
145
|
+
}
|
|
139
146
|
|
|
140
147
|
private readonly options: Required<
|
|
141
148
|
Pick<MultiHostPollerOptions, "timeoutMs" | "intervalMs" | "now">
|
|
@@ -153,8 +160,8 @@ export class MultiHostPoller {
|
|
|
153
160
|
|
|
154
161
|
constructor(options: MultiHostPollerOptions) {
|
|
155
162
|
this.options = {
|
|
156
|
-
timeoutMs: options.timeoutMs ??
|
|
157
|
-
intervalMs: options.intervalMs ??
|
|
163
|
+
timeoutMs: options.timeoutMs ?? DEFAULT_MULTI_HOST_TIMEOUT_MS,
|
|
164
|
+
intervalMs: options.intervalMs ?? DEFAULT_MULTI_HOST_INTERVAL_MS,
|
|
158
165
|
now: options.now ?? (() => Date.now()),
|
|
159
166
|
acquire: options.acquire,
|
|
160
167
|
onUpdate: options.onUpdate,
|
package/shared/resources.ts
CHANGED
|
@@ -654,7 +654,7 @@ export const TopSettingsSchema = z.preprocess(
|
|
|
654
654
|
recordTurnTelemetry: z.boolean().optional(),
|
|
655
655
|
timelineCadence: z.number().min(0).max(10).default(1),
|
|
656
656
|
intervalSeconds: z.number().min(1).max(60).default(3),
|
|
657
|
-
defaultTab: z.enum(["system", "context", "settings", "about"]).default("system"),
|
|
657
|
+
defaultTab: z.enum(["system", "context", "permissions", "settings", "about"]).default("system"),
|
|
658
658
|
})
|
|
659
659
|
);
|
|
660
660
|
|