@oxagen/cli 2.1.4-380 → 2.1.4-381

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.
Files changed (2) hide show
  1. package/oxagen.mjs +57 -2
  2. package/package.json +1 -1
package/oxagen.mjs CHANGED
@@ -15267,7 +15267,7 @@ import { readFileSync as readFileSync10 } from "node:fs";
15267
15267
  import { dirname as dirname7, resolve as resolve2 } from "node:path";
15268
15268
  import { fileURLToPath } from "node:url";
15269
15269
  function readVersion() {
15270
- if (true) return "2.1.4-380";
15270
+ if (true) return "2.1.4-381";
15271
15271
  try {
15272
15272
  const here = dirname7(fileURLToPath(import.meta.url));
15273
15273
  const pkg = JSON.parse(
@@ -48070,7 +48070,7 @@ var init_package = __esm({
48070
48070
  "package.json"() {
48071
48071
  package_default = {
48072
48072
  name: "@oxagen/cli",
48073
- version: "2.1.4-380",
48073
+ version: "2.1.4-381",
48074
48074
  description: "Oxagen governance CLI \u2014 spend, lineage, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
48075
48075
  type: "module",
48076
48076
  main: "./dist/index.js",
@@ -66174,6 +66174,60 @@ var init_settings_baseline = __esm({
66174
66174
  }
66175
66175
  });
66176
66176
 
66177
+ // ../../packages/oxagen/src/steering-repo/steering-tools.ts
66178
+ var STEERING_SEARCH_DEFAULT_LIMIT, STEERING_SEARCH_MAX_LIMIT, steeringSearchInputSchema, steeringSearchHitSchema, steeringSearchOutputSchema, steeringReadInputSchema, steeringReadOutputSchema;
66179
+ var init_steering_tools = __esm({
66180
+ "../../packages/oxagen/src/steering-repo/steering-tools.ts"() {
66181
+ "use strict";
66182
+ init_zod();
66183
+ init_common();
66184
+ init_record_kind();
66185
+ STEERING_SEARCH_DEFAULT_LIMIT = 10;
66186
+ STEERING_SEARCH_MAX_LIMIT = 50;
66187
+ steeringSearchInputSchema = external_exports.object({
66188
+ query: external_exports.string().max(500).optional().describe("Words to look for in each record's label, description, and lineage."),
66189
+ kind: recordKindSchema.optional().describe("Only records of this kind, such as skill."),
66190
+ repository: repoRefSchema.optional().describe("Only records that reach a run on this code repository, such as github.com/a-intel/platform."),
66191
+ limit: external_exports.number().int().min(1).max(STEERING_SEARCH_MAX_LIMIT).optional().describe(`How many to return. ${STEERING_SEARCH_DEFAULT_LIMIT} when unset.`)
66192
+ }).strict();
66193
+ steeringSearchHitSchema = external_exports.object({
66194
+ lineage: external_exports.string(),
66195
+ label: external_exports.string(),
66196
+ description: external_exports.string().optional(),
66197
+ kind: external_exports.string(),
66198
+ force: external_exports.string(),
66199
+ /**
66200
+ * True for a record the always-on block of a run on the repository holds:
66201
+ * the version's block for that repository, else its block for every other
66202
+ * repository. With no repository, that second block.
66203
+ */
66204
+ always_on: external_exports.boolean(),
66205
+ source: external_exports.enum(["workspace", "organization"]),
66206
+ line: external_exports.string().describe("The record's index line.")
66207
+ }).strict();
66208
+ steeringSearchOutputSchema = external_exports.object({
66209
+ workspace_version: external_exports.number().int().nullable(),
66210
+ organization_version: external_exports.number().int().nullable(),
66211
+ hits: external_exports.array(steeringSearchHitSchema),
66212
+ /** How many matched before the limit. */
66213
+ total: external_exports.number().int().min(0)
66214
+ }).strict();
66215
+ steeringReadInputSchema = external_exports.object({
66216
+ lineage: lineageSchema.describe("The record or skill to read, such as a-intel.domain.refund."),
66217
+ file: external_exports.string().min(1).max(512).optional().describe("A file in the skill's folder, such as words.md. Unset, the record itself.")
66218
+ }).strict();
66219
+ steeringReadOutputSchema = external_exports.object({
66220
+ lineage: external_exports.string(),
66221
+ label: external_exports.string(),
66222
+ kind: external_exports.string(),
66223
+ source: external_exports.enum(["workspace", "organization"]),
66224
+ version: external_exports.number().int().min(1),
66225
+ path: external_exports.string(),
66226
+ text: external_exports.string()
66227
+ }).strict();
66228
+ }
66229
+ });
66230
+
66177
66231
  // ../../packages/oxagen/src/steering-repo/templates.ts
66178
66232
  function managedBlockHash(content) {
66179
66233
  return sha256Digest(new TextEncoder().encode(content)).slice(7, 23);
@@ -66271,6 +66325,7 @@ var init_steering_repo = __esm({
66271
66325
  init_schema_ids();
66272
66326
  init_schemas();
66273
66327
  init_settings_baseline();
66328
+ init_steering_tools();
66274
66329
  init_templates();
66275
66330
  init_tokens();
66276
66331
  init_toolbelt();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxagen/cli",
3
- "version": "2.1.4-380",
3
+ "version": "2.1.4-381",
4
4
  "description": "Oxagen governance CLI — spend, lineage, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
5
5
  "type": "module",
6
6
  "bin": {