robotrock 1.4.0 → 1.5.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/dist/eve/agent/index.d.ts +1 -1
- package/dist/eve/agent/index.js +20 -8
- package/dist/eve/agent/index.js.map +1 -1
- package/dist/eve/index.d.ts +1 -1
- package/dist/eve/index.js +131 -8
- package/dist/eve/index.js.map +1 -1
- package/dist/eve/tools/admin/assign-tasks.js +20 -8
- package/dist/eve/tools/admin/assign-tasks.js.map +1 -1
- package/dist/eve/tools/admin/get-workspace-usage.js +20 -8
- package/dist/eve/tools/admin/get-workspace-usage.js.map +1 -1
- package/dist/eve/tools/admin/manage-groups.js +20 -8
- package/dist/eve/tools/admin/manage-groups.js.map +1 -1
- package/dist/eve/tools/admin/manage-team-members.js +20 -8
- package/dist/eve/tools/admin/manage-team-members.js.map +1 -1
- package/dist/eve/tools/admin/query-tasks.d.ts +3 -3
- package/dist/eve/tools/admin/query-tasks.js +20 -8
- package/dist/eve/tools/admin/query-tasks.js.map +1 -1
- package/dist/eve/tools/catalog/generate-image.js +20 -8
- package/dist/eve/tools/catalog/generate-image.js.map +1 -1
- package/dist/eve/tools/catalog/generate-random-chart.d.ts +10 -4
- package/dist/eve/tools/catalog/generate-random-chart.js +65 -26
- package/dist/eve/tools/catalog/generate-random-chart.js.map +1 -1
- package/dist/eve/tools/catalog/search-products.js +20 -8
- package/dist/eve/tools/catalog/search-products.js.map +1 -1
- package/dist/eve/tools/identity/my-access.d.ts +9 -9
- package/dist/eve/tools/index.js +71 -15
- package/dist/eve/tools/index.js.map +1 -1
- package/dist/{index-Drj0Rzf_.d.ts → index-amkHKVGs.d.ts} +161 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +20 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { TaskPriority } from '../../schemas/index.js';
|
|
|
7
7
|
import { HookDefinition } from 'eve/hooks';
|
|
8
8
|
export { AgentAdminApi, createAgentAdminApi, createBoundAgentAdminClient, requireBoundAgentAdminClient } from '../../agent-admin.js';
|
|
9
9
|
export { ROBOTROCK_PLATFORM_USER_CONTEXT_PUBLIC_KEY_URL } from '@robotrock/core/eve/platform-user-context-public-key';
|
|
10
|
-
export { R as ROBOTROCK_READY_HOOK_SLUG } from '../../index-
|
|
10
|
+
export { R as ROBOTROCK_READY_HOOK_SLUG } from '../../index-amkHKVGs.js';
|
|
11
11
|
export { ROBOTROCK_USER_CONTEXT_AUDIENCE, ROBOTROCK_USER_CONTEXT_ISSUER } from '@robotrock/core/eve/user-context-jwt';
|
|
12
12
|
import '@robotrock/core';
|
|
13
13
|
import 'zod';
|
package/dist/eve/agent/index.js
CHANGED
|
@@ -582,10 +582,24 @@ var productEntityRowSchema = z.object({
|
|
|
582
582
|
url: z.string().min(1)
|
|
583
583
|
});
|
|
584
584
|
var metricPointEntityRowSchema = z.object({
|
|
585
|
-
date: z.string().optional(),
|
|
586
|
-
category: z.string().optional(),
|
|
587
|
-
label: z.string().optional()
|
|
588
|
-
}).catchall(z.union([z.string(), z.number()]))
|
|
585
|
+
date: z.string().optional().describe("X-axis value when xKey is date/time"),
|
|
586
|
+
category: z.string().optional().describe("X-axis value when xKey is category"),
|
|
587
|
+
label: z.string().optional().describe("X-axis value when xKey is label")
|
|
588
|
+
}).catchall(z.union([z.string(), z.number()])).describe(
|
|
589
|
+
"Wide chart point: x-axis field + numeric columns named by yKeys (one series per column)"
|
|
590
|
+
);
|
|
591
|
+
var toolChartResultSchema = withAgentOnlyFields({
|
|
592
|
+
title: z.string().min(1).optional().describe("Chart title shown above the plot"),
|
|
593
|
+
description: z.string().min(1).optional().describe("Optional short subtitle"),
|
|
594
|
+
type: z.enum(["line", "bar", "area"]).describe("TRL/shadcn chart variant (time series \u2192 line, categories \u2192 bar)"),
|
|
595
|
+
xKey: z.string().min(1).describe('Field on each series row for the x-axis, e.g. "date" or "category"'),
|
|
596
|
+
yKeys: z.array(z.string().min(1)).min(1).describe(
|
|
597
|
+
'Numeric series column names on each row, e.g. ["NL","BE"] or ["created","handled"]'
|
|
598
|
+
),
|
|
599
|
+
series: z.array(metricPointEntityRowSchema).describe(
|
|
600
|
+
"Wide-format points only \u2014 one object per x value with yKeys as numeric fields"
|
|
601
|
+
)
|
|
602
|
+
});
|
|
589
603
|
var memberEntityRowSchema = z.object({
|
|
590
604
|
name: z.string(),
|
|
591
605
|
email: z.string(),
|
|
@@ -644,10 +658,8 @@ var agentAdminMutationResultSchema = z.object({
|
|
|
644
658
|
var searchProductsOutputSchema = withAgentOnlyFields({
|
|
645
659
|
items: z.array(productEntityRowSchema)
|
|
646
660
|
});
|
|
647
|
-
var generateRandomChartOutputSchema =
|
|
648
|
-
title: z.string().min(1)
|
|
649
|
-
axis: z.enum(["time", "category"]),
|
|
650
|
-
series: z.array(metricPointEntityRowSchema)
|
|
661
|
+
var generateRandomChartOutputSchema = toolChartResultSchema.extend({
|
|
662
|
+
title: z.string().min(1)
|
|
651
663
|
});
|
|
652
664
|
var generateImageOutputSchema = withAgentOnlyFields({
|
|
653
665
|
prompt: z.string().min(1),
|