Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e8dd398f28 | |||
| 61d95cc47f |
@@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
"mode": "exit",
|
|
||||||
"tag": "alpha",
|
|
||||||
"initialVersions": {
|
|
||||||
"@uncaged/cli-workflow": "0.4.5",
|
|
||||||
"@uncaged/workflow-agent-cursor": "0.4.5",
|
|
||||||
"@uncaged/workflow-agent-hermes": "0.4.5",
|
|
||||||
"@uncaged/workflow-agent-llm": "0.4.5",
|
|
||||||
"@uncaged/workflow-agent-react": "0.4.5",
|
|
||||||
"@uncaged/workflow-cas": "0.4.5",
|
|
||||||
"@uncaged/workflow-dashboard": "0.1.0",
|
|
||||||
"@uncaged/workflow-execute": "0.4.5",
|
|
||||||
"@uncaged/workflow-gateway": "0.4.5",
|
|
||||||
"@uncaged/workflow-protocol": "0.4.5",
|
|
||||||
"@uncaged/workflow-reactor": "0.4.5",
|
|
||||||
"@uncaged/workflow-register": "0.4.5",
|
|
||||||
"@uncaged/workflow-runtime": "0.4.5",
|
|
||||||
"@uncaged/workflow-template-develop": "0.4.5",
|
|
||||||
"@uncaged/workflow-template-solve-issue": "0.4.5",
|
|
||||||
"@uncaged/workflow-util": "0.4.5",
|
|
||||||
"@uncaged/workflow-util-agent": "0.4.5"
|
|
||||||
},
|
|
||||||
"changesets": [
|
|
||||||
"env-api-unify",
|
|
||||||
"fix-internal-deps",
|
|
||||||
"fix-publish-src",
|
|
||||||
"fix-workspace-deps",
|
|
||||||
"rfc-252-agent-fn"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# @uncaged/cli-workflow
|
||||||
|
|
||||||
|
## 0.5.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Add 5 persona-based skills (actor, user, author, developer, adapter) and fix skill CLI description truncation
|
||||||
|
- Updated dependencies
|
||||||
|
- @uncaged/workflow-util@0.5.1
|
||||||
|
- @uncaged/workflow-protocol@0.5.1
|
||||||
|
- @uncaged/workflow-util-agent@0.5.1
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uncaged/cli-workflow",
|
"name": "@uncaged/cli-workflow",
|
||||||
"version": "0.5.0",
|
"version": "0.5.1",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -564,7 +564,7 @@ program
|
|||||||
.option("--base-url <url>", "OpenAI-compatible API base URL")
|
.option("--base-url <url>", "OpenAI-compatible API base URL")
|
||||||
.option("--api-key <key>", "API key")
|
.option("--api-key <key>", "API key")
|
||||||
.option("--model <name>", "Default model name")
|
.option("--model <name>", "Default model name")
|
||||||
.option("--agent <name>", "Default agent adapter (e.g. hermes → uwf-hermes)")
|
.option("--agent <name>", "Default agent alias")
|
||||||
.action(
|
.action(
|
||||||
(opts: {
|
(opts: {
|
||||||
provider?: string;
|
provider?: string;
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# @uncaged/workflow-agent-builtin
|
||||||
|
|
||||||
|
## 0.5.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies
|
||||||
|
- @uncaged/workflow-util@0.5.1
|
||||||
|
- @uncaged/workflow-util-agent@0.5.1
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uncaged/workflow-agent-builtin",
|
"name": "@uncaged/workflow-agent-builtin",
|
||||||
"version": "0.5.0",
|
"version": "0.5.1",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# @uncaged/workflow-agent-claude-code
|
||||||
|
|
||||||
|
## 0.5.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies
|
||||||
|
- @uncaged/workflow-util@0.5.1
|
||||||
|
- @uncaged/workflow-util-agent@0.5.1
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uncaged/workflow-agent-claude-code",
|
"name": "@uncaged/workflow-agent-claude-code",
|
||||||
"version": "0.1.0",
|
"version": "0.5.1",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# @uncaged/workflow-agent-hermes
|
||||||
|
|
||||||
|
## 0.5.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies
|
||||||
|
- @uncaged/workflow-util@0.5.1
|
||||||
|
- @uncaged/workflow-protocol@0.5.1
|
||||||
|
- @uncaged/workflow-util-agent@0.5.1
|
||||||
@@ -1,12 +1,10 @@
|
|||||||
# @uncaged/workflow-agent-hermes
|
# @uncaged/workflow-agent-hermes
|
||||||
|
|
||||||
`uwf-hermes` — an **agent adapter** that bridges the `uwf` workflow engine and the Hermes CLI.
|
`uwf-hermes` agent — spawns Hermes chat via ACP and captures session detail.
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
`uwf-hermes` is an adapter (not the Hermes CLI itself). The `uwf` engine speaks a generic agent protocol (stdin/stdout frontmatter contract); `uwf-hermes` translates that protocol into Hermes ACP (Agent Client Protocol) calls. Other adapters (e.g. `uwf-claude-code`, `uwf-cursor`) do the same for their respective CLIs.
|
Layer 3 agent implementation. Wraps the Hermes CLI using the Agent Client Protocol (ACP). On first visit to a role it sends a composed prompt (role definition, task, history, edge prompt); on continuation it resumes the cached session. Session transcripts and raw output are stored as CAS detail nodes.
|
||||||
|
|
||||||
On first visit to a role it sends a composed prompt (role definition, task, history, edge prompt); on continuation it resumes the cached session. Session transcripts and raw output are stored as CAS detail nodes.
|
|
||||||
|
|
||||||
**Dependencies:** `@uncaged/json-cas`, `@uncaged/workflow-util-agent`, `@uncaged/workflow-protocol`, `@uncaged/workflow-util`
|
**Dependencies:** `@uncaged/json-cas`, `@uncaged/workflow-util-agent`, `@uncaged/workflow-protocol`, `@uncaged/workflow-util`
|
||||||
|
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
import { describe, expect, test } from "bun:test";
|
|
||||||
import { readFileSync } from "node:fs";
|
|
||||||
import { join } from "node:path";
|
|
||||||
|
|
||||||
const PKG_ROOT = join(import.meta.dir, "..");
|
|
||||||
|
|
||||||
describe("Issue #551 — bin entry & engines", () => {
|
|
||||||
test("package.json declares bun in engines", () => {
|
|
||||||
const pkg = JSON.parse(readFileSync(join(PKG_ROOT, "package.json"), "utf-8"));
|
|
||||||
expect(pkg.engines).toBeDefined();
|
|
||||||
expect(pkg.engines.bun).toBeDefined();
|
|
||||||
expect(pkg.engines.bun).toMatch(/^>=?\s*[\d.]+/);
|
|
||||||
});
|
|
||||||
|
|
||||||
test("bin entry file has bun shebang", () => {
|
|
||||||
const pkg = JSON.parse(readFileSync(join(PKG_ROOT, "package.json"), "utf-8"));
|
|
||||||
const binPath = pkg.bin["uwf-hermes"];
|
|
||||||
const content = readFileSync(join(PKG_ROOT, binPath), "utf-8");
|
|
||||||
expect(content.startsWith("#!/usr/bin/env bun")).toBe(true);
|
|
||||||
});
|
|
||||||
|
|
||||||
test("README.md explains uwf-hermes is an adapter", () => {
|
|
||||||
const readme = readFileSync(join(PKG_ROOT, "README.md"), "utf-8");
|
|
||||||
expect(readme.toLowerCase()).toContain("adapter");
|
|
||||||
expect(readme).toMatch(/uwf-hermes/);
|
|
||||||
expect(readme).toMatch(/hermes/);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uncaged/workflow-agent-hermes",
|
"name": "@uncaged/workflow-agent-hermes",
|
||||||
"version": "0.5.0",
|
"version": "0.5.1",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist",
|
"dist",
|
||||||
@@ -42,8 +42,5 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/shazhou-ww/uncaged-workflow/issues"
|
"url": "https://github.com/shazhou-ww/uncaged-workflow/issues"
|
||||||
},
|
},
|
||||||
"engines": {
|
|
||||||
"bun": ">= 1.0.0"
|
|
||||||
},
|
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# @uncaged/workflow-protocol
|
||||||
|
|
||||||
|
## 0.5.1
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uncaged/workflow-protocol",
|
"name": "@uncaged/workflow-protocol",
|
||||||
"version": "0.5.0",
|
"version": "0.5.1",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# @uncaged/workflow-util-agent
|
||||||
|
|
||||||
|
## 0.5.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies
|
||||||
|
- @uncaged/workflow-util@0.5.1
|
||||||
|
- @uncaged/workflow-protocol@0.5.1
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uncaged/workflow-util-agent",
|
"name": "@uncaged/workflow-util-agent",
|
||||||
"version": "0.5.0",
|
"version": "0.5.1",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# @uncaged/workflow-util
|
||||||
|
|
||||||
|
## 0.5.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Add 5 persona-based skills (actor, user, author, developer, adapter) and fix skill CLI description truncation
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uncaged/workflow-util",
|
"name": "@uncaged/workflow-util",
|
||||||
"version": "0.5.0",
|
"version": "0.5.1",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ const publishOrder = [
|
|||||||
"workflow-util-agent",
|
"workflow-util-agent",
|
||||||
"workflow-agent-hermes",
|
"workflow-agent-hermes",
|
||||||
"workflow-agent-builtin",
|
"workflow-agent-builtin",
|
||||||
|
"workflow-agent-claude-code",
|
||||||
"cli-workflow",
|
"cli-workflow",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user