eversince 0.2.16 → 0.2.17

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # eversince
2
2
 
3
- Your Eversince workspace, from the command line — for agents and the people who run them.
3
+ Your Eversince workspace, from the command line, for agents and the people who run them.
4
4
 
5
5
  ```bash
6
6
  npx -y eversince@latest init
@@ -41,7 +41,7 @@ workspace was chosen with `eversince workspace use`. `login`, `logout` and `work
41
41
  always work against eversince.ai.
42
42
 
43
43
  Through the app, `upload` adds images, video and audio where they sit on disk, and
44
- they upload when a cloud feature first needs them; `--describe` or `--enrich` uploads
44
+ they upload when a cloud feature first needs them; `--describe` uploads
45
45
  them now, and documents always upload. `eversince status` says whether the app is used.
46
46
 
47
47
  ## Commands
@@ -66,15 +66,14 @@ eversince workspace [use <name|id>|clear] which workspace the CLI acts in
66
66
  ```
67
67
 
68
68
  Every command takes `--json`, on success and on failure, in the envelope the API
69
- uses — `{"ok":true,"data":…}` or `{"ok":false,"error":…}` — so an agent reads one
69
+ uses (`{"ok":true,"data":…}` or `{"ok":false,"error":…}`), so an agent reads one
70
70
  field to know which it got rather than inferring it from the shape.
71
71
 
72
72
  ## Examples
73
73
 
74
74
  ```bash
75
- # A shoot folder into the library, its images described and tagged on arrival.
76
- # Describing and tagging draws on cloud processing, so it runs only with `--enrich`.
77
- eversince upload ~/Desktop/shoot --enrich
75
+ # A shoot folder into the library.
76
+ eversince upload ~/Desktop/shoot
78
77
 
79
78
  # What can this workspace do, and what does one tool take
80
79
  eversince tools
@@ -89,7 +88,7 @@ eversince download XC4WBAX5 7HQ2MZ9P --out ./renders
89
88
  # Everything the library knows about an item, piped into jq
90
89
  eversince run get_items '{"refs":["XC4WBAX5"]}' --json | jq '.data.items[0].tags'
91
90
 
92
- # Arguments from a file or another command — `-` means read stdin
91
+ # Arguments from a file or another command: `-` means read stdin
93
92
  jq -n '{refs:["XC4WBAX5"]}' | eversince run get_items -
94
93
  ```
95
94
 
@@ -103,7 +102,7 @@ with `eversince jobs <id> --wait`.
103
102
  ## Authentication
104
103
 
105
104
  Browser sign-in is the default. It uses OAuth with PKCE against the workspace's
106
- own authorization server — discovered, never hardcoded — and registers this CLI as
105
+ own authorization server (discovered, never hardcoded) and registers this CLI as
107
106
  its own client, so it holds a credential that renews itself and can be revoked
108
107
  independently of any other connection.
109
108
 
@@ -142,7 +141,6 @@ using. An API key moves within its own workspaces with
142
141
  --timeout <seconds> ceiling on a request (default 600), and on --wait (default 1800)
143
142
  --out <dir> where downloads land
144
143
  --describe <text> description for an upload
145
- --enrich describe and tag each image upload
146
144
  --concurrency <n> parallel uploads (default 3, max 8)
147
145
  --workspace <id> act in this workspace, this once
148
146
  --cloud use eversince.ai even with the desktop app here
@@ -170,10 +168,10 @@ ES_DEBUG=1 same as --debug
170
168
  failure is on stdout as `{"ok":false,"error":{…}}` with the request id where the
171
169
  server gave one.
172
170
 
173
- ## Licence
171
+ ## License
174
172
 
175
- Apache-2.0. This covers the client in this package — not the Eversince service it
176
- talks to, which needs an account, and not the Eversince name, which the licence
173
+ Apache-2.0. This covers the client in this package, not the Eversince service it
174
+ talks to, which needs an account, and not the Eversince name, which the license
177
175
  explicitly does not grant rights to.
178
176
 
179
177
  ## What `init` writes
@@ -86,10 +86,7 @@ function openBrowser(url) {
86
86
  function donePage(signedIn, feed) {
87
87
  const title = signedIn ? 'Signed in to Eversince' : 'Not signed in';
88
88
  return `<!doctype html><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>${title}</title>
89
- <style>body{font-family:Inter,-apple-system,system-ui,sans-serif;display:grid;place-items:center;height:100vh;margin:0;padding:0 16px;background:#fff;color:#18181b;text-align:center;-webkit-font-smoothing:antialiased}
90
- h1{font-size:14px;font-weight:440;margin:0}p{font-size:14px;color:#71717a;margin:6px 0 0}
91
- a{display:inline-flex;align-items:center;height:32px;margin-top:16px;padding:0 14px;border-radius:999px;background:#f4f4f5;color:#18181b;font-size:12px;font-weight:440;text-decoration:none}a:hover{background:#e4e4e7}
92
- @media(prefers-color-scheme:dark){body{background:#161616;color:#f4f4f5}p{color:#a1a1aa}a{background:rgba(255,255,255,.06);color:#f4f4f5}a:hover{background:rgba(255,255,255,.1)}}</style>
89
+ <style>html{color-scheme:light dark}body{margin:0;min-height:100dvh;box-sizing:border-box;padding:0 16px 10vh;display:flex;align-items:center;justify-content:center;text-align:center;background:#fcfcfc;color:#0a0a0a;font-family:Inter,-apple-system,system-ui,sans-serif;-webkit-font-smoothing:antialiased}h1{margin:0;font-size:16px;line-height:22px;font-weight:420;letter-spacing:-.01em;color:#1c1e21;text-wrap:balance}p{margin:6px 0 0;font-size:13px;line-height:20px;font-weight:370;letter-spacing:-.015em;color:#6a6a6a}a{display:inline-flex;margin-top:10px;font-size:14px;line-height:20px;font-weight:370;letter-spacing:-.01em;color:#3f3f3f;text-decoration:underline;text-decoration-color:rgba(63,63,63,.35);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:#0a0a0a;text-decoration-color:currentColor}@media(max-width:767px){h1{font-size:17px;line-height:23px}}@media(prefers-color-scheme:dark){body{background:#161616;color:#fafafa}h1{color:#fafafa}p{color:#cbcbcb}a{color:#cecece;text-decoration-color:rgba(206,206,206,.35)}a:hover{color:#fafafa}}</style>
93
90
  <body><div><h1>${title}</h1><p>You can close this tab.</p><a href="${feed.replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/</g, '&lt;')}">Open Eversince</a></div>`;
94
91
  }
95
92
  const PREFERRED_PORTS = [51703, 51704, 51705, 0];
@@ -26,7 +26,7 @@ export function fileNameFor(item) {
26
26
  fromUrl = '';
27
27
  }
28
28
  const ext = /^\.[\w]{1,8}$/.test(fromUrl) ? fromUrl : EXTENSIONS[item.type ?? ''] || '';
29
- const title = item.title?.replace(/[^\w.-]+/g, '-').replace(/^-+|-+$/g, '').slice(0, 60);
29
+ const title = item.title?.replace(/\.[A-Za-z][A-Za-z0-9]{0,7}$/, '').replace(/[^\w.-]+/g, '-').replace(/^-+|-+$/g, '').slice(0, 60);
30
30
  return title ? `${ref}-${title}${ext}` : `${ref}${ext}`;
31
31
  }
32
32
  export async function download(argv, connection, mode) {
@@ -69,7 +69,7 @@ function skillTargets(scope) {
69
69
  function skillBody(mcpWhere) {
70
70
  return hereCommand(`---
71
71
  name: eversince-cli
72
- description: Reach an Eversince workspace from the shell: upload local files into the library, download items onto disk, call any workspace tool, and follow generation and render to completion. Use whenever the media is on this machine, the same operation runs over many items, or the work has to continue without an agent session.
72
+ description: Reach an Eversince workspace from the shell: upload local files into the library, download items onto disk, call any workspace tool, and follow generation and render to completion. Use whenever a video, graphic or image is made or edited in Eversince, the media is on this machine, the same operation runs over many items, or the work has to continue without an agent session.
73
73
  ---
74
74
 
75
75
  # Eversince from the command line
@@ -96,6 +96,14 @@ The same tools are available over MCP ${mcpWhere}. Use those when the work is
96
96
  conversational and the files are already in the workspace; use the CLI when the
97
97
  files are on this machine or the work has to outlive the session.
98
98
 
99
+ ## Making a video or a graphic
100
+
101
+ The craft lives in the workspace's skills, read with \`eversince run manage_skills '{"action":"get","id":"<id>"}'\`:
102
+ \`skill-make-videos\` for editing a video and the skill for its kind, \`skill-motion-graphics\` before
103
+ the first \`compose_motion\` of a piece. About 340 ready graphics (titles, lower thirds, charts, maps,
104
+ speaker layouts, montage, transitions and more) are found with \`get_templates\` by plain words and
105
+ placed with \`compose_motion\` template, or used as a start for one written by hand.
106
+
99
107
  ## Worth knowing
100
108
 
101
109
  - Every generation lands in the library on its own; nothing needs saving.
@@ -38,6 +38,7 @@ export async function tools(argv, connection, mode) {
38
38
  }
39
39
  line();
40
40
  line(hereCommand(`eversince run ${tool.name} '{ … }'`));
41
+ line(hereCommand(`eversince run ${tool.name} - < args.json`) + ' (arguments from a file, for code or text with quotes)');
41
42
  return;
42
43
  }
43
44
  if (data.instructions) {
@@ -139,7 +139,6 @@ async function uploadOne(client, path, opts) {
139
139
  file_name: fileName,
140
140
  file_size: info.size,
141
141
  content_type: contentType,
142
- enrich: opts.enrich,
143
142
  ...(opts.description ? { description: opts.description } : {}),
144
143
  }));
145
144
  return { file: path, ok: true, item: confirmed.upload_id, type: confirmed.type };
@@ -197,7 +196,7 @@ export async function upload(argv, connection, mode) {
197
196
  note(`Left ${skipped.length} nested folder${skipped.length === 1 ? '' : 's'} alone. Name one to upload it.`);
198
197
  }
199
198
  const client = await Client.create(connection);
200
- const inPlace = client.local && !argv.enrich && !argv.describe;
199
+ const inPlace = client.local && !argv.describe;
201
200
  const here = inPlace ? files.filter((f) => IN_PLACE.has(extname(f).toLowerCase())) : [];
202
201
  const { results: added, upload: refusedHere } = here.length ? await addInPlace(client, here, mode) : { results: [], upload: [] };
203
202
  const toSend = inPlace ? [...files.filter((f) => !IN_PLACE.has(extname(f).toLowerCase())), ...refusedHere] : files;
@@ -214,7 +213,6 @@ export async function upload(argv, connection, mode) {
214
213
  return;
215
214
  try {
216
215
  results[index] = await uploadOne(client, path, {
217
- enrich: argv.enrich === true,
218
216
  description: argv.describe,
219
217
  limits,
220
218
  });
package/dist/index.js CHANGED
@@ -46,14 +46,13 @@ Options
46
46
  --out <dir> where downloads land, and where a tool's pictures go
47
47
  (a temp folder otherwise)
48
48
  --describe <text> description for an upload
49
- --enrich describe and tag each image upload, using cloud processing
50
49
  --concurrency <n> parallel uploads (default 3, max 8)
51
50
  --workspace <id> act in this workspace, this once
52
51
  --idempotency-key <k> the key for a charged call, so a retry does not charge twice
53
52
  --schemas with tools: include each tool's input schema
54
53
  --annotation <kind> with tools: only read, write or destructive tools
55
54
  --name <agent> with login or init: the agent's name, shown in Settings
56
- and on the feed (otherwise the agent whose shell this
55
+ and beside its work (otherwise the agent whose shell this
57
56
  is: Claude Code, Cursor or Codex; else "CLI agent", or
58
57
  "Another client" through the app)
59
58
  --scope <where> with init: user (default, once per machine) or project
@@ -103,7 +102,6 @@ const OPTIONS = {
103
102
  annotation: { type: 'string' },
104
103
  describe: { type: 'string' },
105
104
  concurrency: { type: 'string' },
106
- enrich: { type: 'boolean', default: false },
107
105
  wait: { type: 'boolean', default: false },
108
106
  timeout: { type: 'string' },
109
107
  'idempotency-key': { type: 'string' },
@@ -175,7 +173,6 @@ async function main() {
175
173
  case 'upload':
176
174
  return await upload({
177
175
  paths: rest,
178
- enrich: values.enrich,
179
176
  describe: values.describe,
180
177
  concurrency: toNumber(values.concurrency, 'concurrency'),
181
178
  }, connection, mode);
@@ -1 +1 @@
1
- a11529fec7c8973acd0eb530c9fe9763e095386748d999d47db443dc948d877b
1
+ 69b0b3c37cbcb3b08d6819402108fa83eabfa9edc752bfeae66f439c09445416
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eversince",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "description": "The Eversince CLI. Eversince is the media workspace for agents: connect an agent, call any tool, move files and follow jobs from a shell.",
5
5
  "type": "module",
6
6
  "bin": {