@messenger-agent/claude-agent 0.34.1 → 0.35.0-alpha.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/app.js CHANGED
@@ -1 +1 @@
1
- import{Hono as e}from"hono";import r from"./routes/chat.js";import{infoRequestLogger as a}from"@messenger-agent/shared/http-logger";import{agentAuthMiddleware as i}from"@messenger-agent/shared/agent-auth";import{appConfig as m}from"./config.js";import{installAgentActivityResponder as p}from"@messenger-agent/shared/agent-activity";import{claudeActivitySnapshot as n}from"./routes/chat.js";const t=new e;p("claude",n),t.use(a(["/health"])),t.get("/health",o=>o.json({status:"ok",agent:"claude"})),t.use("/*",i(m.authTokens)),t.route("/",r);var g=t;export{g as default};
1
+ import{Hono as r}from"hono";import a from"./routes/chat.js";import{infoRequestLogger as i}from"@messenger-agent/shared/http-logger";import{agentAuthMiddleware as p}from"@messenger-agent/shared/agent-auth";import{appConfig as t}from"./config.js";import{installAgentActivityResponder as m}from"@messenger-agent/shared/agent-activity";import{installAgentWorkspacesReloadResponder as n}from"@messenger-agent/shared/agent-workspaces";import{claudeActivitySnapshot as s}from"./routes/chat.js";const o=new r;m("claude",s),n("claude",t),o.use(i(["/health"])),o.get("/health",e=>e.json({status:"ok",agent:"claude"})),o.use("/*",p(t.authTokens)),o.route("/",a);var R=o;export{R as default};
@@ -14,7 +14,7 @@
14
14
 
15
15
  - Repositories hosted on `git.easyops.local` are internal GitLab projects. Use `glab` for merge requests and other GitLab operations.
16
16
  - Repositories hosted on `github.com` are GitHub projects. Use `gh` for pull requests and other GitHub operations.
17
- - When creating or updating merge requests or pull requests with multiline Markdown bodies, do not pass the body directly inside a shell double-quoted argument. Markdown backticks and `$...` can be interpreted by the shell and corrupt the description. Write the body to a temporary file with a single-quoted heredoc first. For `gh`, pass the file with `--body-file <file>`. For the currently installed `glab`, which does not support `--description-file`, pass the file contents through a variable or command substitution, for example `body=$(cat "$file"); glab mr create --description "$body"`; command substitution output is not re-parsed for Markdown backticks. When a temporary file is used for a merge request or pull request description, delete it after the create or update operation completes successfully.
17
+ - When creating or updating merge requests or pull requests with multiline Markdown bodies, do not place the literal body inside a shell double-quoted argument. Markdown backticks and `$...` can be interpreted by the shell and corrupt the description. Use a single-quoted heredoc so the Markdown remains literal. For GitHub, pass the heredoc through standard input with `gh pr create --body-file -`. For GitLab, capture the heredoc in a shell variable named `description`, then pass it with `glab mr create --description "$description"`; expanding the quoted variable does not re-interpret the Markdown. Do not create temporary files for these bodies.
18
18
 
19
19
  ## Git Conventions
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-agent/claude-agent",
3
- "version": "0.34.1",
3
+ "version": "0.35.0-alpha.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "ws": "^8.21.0",
20
20
  "yaml": "^2.9.0",
21
21
  "zod": "^4.4.3",
22
- "@messenger-agent/shared": "0.34.1"
22
+ "@messenger-agent/shared": "0.35.0-alpha.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/ws": "^8.18.1"