create-allyhub 0.15.3 → 0.17.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/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  Feature highlights from each AllyHub release.
4
4
 
5
+ ## 0.17.0
6
+
7
+ - **Turn into.** Beside Download, make another kind of what is on show, such as a deck into a video, and say how in your own words before you send it.
8
+ - **One piece can use another.** A sheet's table in a deck or a doc, a video on a slide, a deck in a video: change the source and every piece that uses it follows.
9
+ - **Your own Claude Code and Codex, whatever their version.** Studio uses the newest one on your Mac.
10
+ - **Conversation titles are your words**, never what Studio adds for the agent.
11
+ - **Projects are deleted in the sidebar alone.** Cloud storage in Settings shows what takes room and clears what is no longer in use.
12
+
13
+ ## 0.16.0
14
+
15
+ - **One Studio on your Mac and in the cloud.** The app opens the same Studio as AllyHub in the cloud, with your projects and conversations as they were.
16
+ - **Your files open in Studio.** CSV, Excel, PowerPoint and Word files open to read, and everything has Download.
17
+ - **Delete from the sidebar.** What you delete goes to the project's trash, where your agent can bring it back.
18
+ - **Pictures you add stay in the project.** Your agent can use a photo you paste in what it makes, not only look at it, and it answers in the language you write in.
19
+ - **Your PowerPoint and Excel files stay editable.** One you give your agent becomes a deck or a sheet you can edit, downloaded as the file again.
20
+ - **An example project to start from**, with a doc, a sheet, a deck, images and a video.
21
+
5
22
  ## 0.15.3
6
23
 
7
24
  - **The editor keeps running after the agent's turn ends.** `allyhub dev` now returns once the page is up and serves in the background; `allyhub dev --stop` stops it, and `--foreground` serves until Ctrl+C as before.
@@ -1,8 +1,8 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{mkdir as c,readFile as m,writeFile as d}from"node:fs/promises";import{basename as f,join as o,resolve as h}from"node:path";export const PROJECT_PACKAGES={cli:"allyhub",sdk:"@allyhub/sdk"},PROJECT_TYPESCRIPT="~5.9.3",PROJECT_GITIGNORE=`node_modules/
2
+ import{mkdir as c,readFile as m,writeFile as d}from"node:fs/promises";import{basename as f,join as a,resolve as h}from"node:path";export const PROJECT_PACKAGES={cli:"allyhub",sdk:"@allyhub/sdk"},PROJECT_TYPESCRIPT="~5.9.3",PROJECT_GITIGNORE=`node_modules/
3
3
  .allyhub/
4
4
  .playwright-cli/
5
- `,REGISTRY="https://allyhub.com/r",MASTER_SKILL="allyhub";export function workSkills(s){return s.filter(e=>e.type==="allyhub:skill"&&e.name!==MASTER_SKILL).map(e=>({name:e.name,description:e.description.replaceAll(/\s+/gu," ").trim()}))}export const AGENT_RULES_BEGIN="<!-- BEGIN:allyhub-agent-rules -->",AGENT_RULES_END="<!-- END:allyhub-agent-rules -->";export function agentRules(){return[AGENT_RULES_BEGIN,"",`Before writing or changing a piece (a video, a deck, an image, a doc, a sheet, a 3D scenery or model), read the files it needs in the SDK's docs, for the version this project builds with: \`node_modules/${PROJECT_PACKAGES.sdk}/docs/\` once the project has installed it, its \`README.md\` saying what each file covers; without it, \`allyhub help\` says where they are (the SDK the CLI lends). The API has changed from what you may know; the docs and the SDK's types are right.`,"","`allyhub help` lists AllyHub's commands (`npx allyhub help` once the project has installed it); `allyhub help <command>` says what one does.","","`allyhub skills` lists AllyHub's work skills, each how to make one kind of work; `allyhub skills show <name>` prints one, `allyhub add skill/<name>` adds it to this project.","",AGENT_RULES_END].join(`
5
+ `,REGISTRY="https://allyhub.com/r",MASTER_SKILL="allyhub";export function workSkills(s){return s.filter(e=>e.type==="allyhub:skill"&&e.name!==MASTER_SKILL).map(e=>({name:e.name,description:e.description.replaceAll(/\s+/gu," ").trim()}))}export const AGENT_RULES_BEGIN="<!-- BEGIN:allyhub-agent-rules -->",AGENT_RULES_END="<!-- END:allyhub-agent-rules -->";export function agentRules(){return[AGENT_RULES_BEGIN,"",`Before writing or changing a piece (a video, a deck, an image, a doc, a sheet, a 3D scenery or model), read the files it needs in the SDK's docs, for the version this project builds with: \`node_modules/${PROJECT_PACKAGES.sdk}/docs/\` once the project has installed it, its \`README.md\` saying what each file covers; without it, \`allyhub help\` says where they are (the SDK the CLI lends). The docs and the SDK's types describe the API as it is now: follow them over what you remember.`,"","`allyhub help` lists AllyHub's commands (`npx allyhub help` once the project has installed it); `allyhub help <command>` says what one does.","","`allyhub skills` lists AllyHub's work skills, each how to make one kind of work; `allyhub skills show <name>` prints one, `allyhub add skill/<name>` adds it to this project.","",AGENT_RULES_END].join(`
6
6
  `)}export function projectAgents(){return`# AllyHub project
7
7
 
8
8
  This folder is an AllyHub project. Videos, decks, images, 3D sceneries and 3D models are TypeScript, docs MDX, sheets YAML and CSV, a canvas JSON Canvas, and a website any web project; their files are yours to name and lay out as suits the project, and a model is made once and put in any scenery that imports it. \`${WORK_FILE}\` lists the work a person sees, in the order they see it: each piece's \`kind\` (\`video\`, \`slides\`, \`image\`, \`doc\`, \`sheet\`, \`scenery\`, \`model\`, \`website\`; none for a \`.canvas\`, which its editor opens by its name), its \`file\` from this folder and, if its file says none, a \`title\`, under \`group\` headings if you like. List a piece when you make it; a file not listed (a scenery a video imports, a helper, a draft) is yours alone.
@@ -13,5 +13,5 @@ ${agentRules()}
13
13
  `}export const PROJECT_CLAUDE=`@AGENTS.md
14
14
  `,WORK_FILE="allyhub.yaml",PROJECT_WORK=`work: []
15
15
  `,PROJECT_TSCONFIG=`${JSON.stringify({compilerOptions:{target:"ES2022",module:"ESNext",moduleResolution:"Bundler",lib:["ES2022","DOM","DOM.Iterable"],types:[`${PROJECT_PACKAGES.sdk}/client`,`${PROJECT_PACKAGES.cli}/client`],strict:!0,noEmit:!0,skipLibCheck:!0,verbatimModuleSyntax:!0,allowImportingTsExtensions:!0},include:["**/*.ts",".allyhub/cache/types"],exclude:["node_modules"]},null,2)}
16
- `;export function packageName(s){const e=s.toLowerCase().normalize("NFKD").replace(/\p{M}/gu,"").replace(/[^\w.-]+/gu,"-").replace(/^[-._]+|[-._]+$/gu,"").slice(0,214);return e===""?"allyhub-project":e}const r=s=>m(s).then(()=>!0,()=>!1);export async function writeAgentFiles(s){const e=h(s);await c(e,{recursive:!0});const t=[];for(const[n,i]of[["AGENTS.md",projectAgents()],["CLAUDE.md",PROJECT_CLAUDE],[WORK_FILE,PROJECT_WORK]])await r(o(e,n))||(await d(o(e,n),i,{flag:"wx"}),t.push(n));return t}export async function startProject(s,e){const t=h(s);if(await r(o(t,"package.json")))throw new Error(`${t} already has a package.json: add AllyHub to it with npm install ${PROJECT_PACKAGES.cli} ${PROJECT_PACKAGES.sdk}.`);const n=packageName(f(t)),i=a=>e.packages?.[a]??e.version,p={name:n,version:"0.0.0",private:!0,type:"module",scripts:{dev:"allyhub dev",check:"allyhub check",render:"allyhub render",typecheck:"tsc --noEmit"},dependencies:{[PROJECT_PACKAGES.cli]:i(PROJECT_PACKAGES.cli),[PROJECT_PACKAGES.sdk]:i(PROJECT_PACKAGES.sdk)},devDependencies:{typescript:PROJECT_TYPESCRIPT}},u=[["package.json",`${JSON.stringify(p,null,2)}
17
- `],["tsconfig.json",PROJECT_TSCONFIG],[".gitignore",PROJECT_GITIGNORE]];await c(t,{recursive:!0});const l=[];for(const[a,y]of u)await r(o(t,a))||(await d(o(t,a),y,{flag:"wx"}),l.push(a));return l.push(...await writeAgentFiles(t)),{folder:t,name:n,files:l}}
16
+ `;export function packageName(s){const e=s.toLowerCase().normalize("NFKD").replace(/\p{M}/gu,"").replace(/[^\w.-]+/gu,"-").replace(/^[-._]+|[-._]+$/gu,"").slice(0,214);return e===""?"allyhub-project":e}const r=s=>m(s).then(()=>!0,()=>!1);export async function writeAgentFiles(s){const e=h(s);await c(e,{recursive:!0});const t=[];for(const[o,i]of[["AGENTS.md",projectAgents()],["CLAUDE.md",PROJECT_CLAUDE],[WORK_FILE,PROJECT_WORK]])await r(a(e,o))||(await d(a(e,o),i,{flag:"wx"}),t.push(o));return t}export async function startProject(s,e){const t=h(s);if(await r(a(t,"package.json")))throw new Error(`${t} already has a package.json: add AllyHub to it with npm install ${PROJECT_PACKAGES.cli} ${PROJECT_PACKAGES.sdk}.`);const o=packageName(f(t)),i=n=>e.packages?.[n]??e.version,p={name:o,version:"0.0.0",private:!0,type:"module",scripts:{dev:"allyhub dev",check:"allyhub check",render:"allyhub render",typecheck:"tsc --noEmit"},dependencies:{[PROJECT_PACKAGES.cli]:i(PROJECT_PACKAGES.cli),[PROJECT_PACKAGES.sdk]:i(PROJECT_PACKAGES.sdk)},devDependencies:{typescript:PROJECT_TYPESCRIPT}},u=[["package.json",`${JSON.stringify(p,null,2)}
17
+ `],["tsconfig.json",PROJECT_TSCONFIG],[".gitignore",PROJECT_GITIGNORE]];await c(t,{recursive:!0});const l=[];for(const[n,y]of u)await r(a(t,n))||(await d(a(t,n),y,{flag:"wx"}),l.push(n));return l.push(...await writeAgentFiles(t)),{folder:t,name:o,files:l}}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/scaffold",
3
- "version": "0.15.3",
3
+ "version": "0.17.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-allyhub",
3
- "version": "0.15.3",
3
+ "version": "0.17.0",
4
4
  "description": "Starts an AllyHub project: npm create allyhub <folder>.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://allyhub.com",