@hitch42/applet 0.1.0-beta.10 → 0.1.0-beta.11
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/applet.js +11 -11
- package/dist/{build-BlmLiKro.js → build-BRpYQ9Lk.js} +1 -1
- package/dist/build-CypJADhV.js +2 -0
- package/dist/{ci-0Q2mUh53.js → ci-C2CL-0sj.js} +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/{contract-QUvEGiRI.d.ts → contract-CsUpTBe0.d.ts} +1 -1
- package/dist/{deploy-BbL3GObV.js → deploy-CdQQQ5HG.js} +131 -80
- package/dist/{generate-XB-72Fzj.js → generate-BDHb2kjw.js} +7 -4
- package/dist/generate-Cai2X9z1.js +2 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -1
- package/dist/{init-DwsXRUk-.js → init-CpVfJQbv.js} +4 -4
- package/dist/{load-config-OKZU3UKn.js → load-config-DI-e1Ool.js} +1 -1
- package/dist/{logs-XvK6Zs5Y.js → logs-CffdKMRd.js} +2 -2
- package/dist/{manifest-I-9s8R36.d.ts → manifest-C6_F4bL8.d.ts} +3 -1
- package/dist/{manifest-4ZAc6HUk.js → manifest-CJSL9GuC.js} +6 -1
- package/dist/{project-B0qNXnFu.js → project-D-hX59RS.js} +4 -1
- package/dist/react.d.ts +2 -1
- package/dist/react.js +57 -37
- package/dist/{schedules-BkWZsbSs.js → schedules-DIIowhD3.js} +1 -1
- package/dist/server.d.ts +2 -2
- package/dist/telephony.d.ts +24 -4
- package/dist/telephony.js +135 -16
- package/dist/{variables-0tjnAeut.js → variables-Bzl2ZLQN.js} +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +17 -6
- package/package.json +3 -1
- package/scaffold/.agents/skills/hitch-applets/SKILL.md +1 -1
- package/scaffold/.agents/skills/hitch-applets/references/markdown.md +2 -0
- package/scaffold/.agents/skills/hitch-theory/SKILL.md +1 -1
- package/scaffold/.github/workflows/hitch.yml +1 -1
- package/scaffold/applet/src/client/styles/globals.css +2 -0
- package/dist/build-CcT-wNN9.js +0 -2
- package/dist/generate-wIN3IYqL.js +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitch42/applet",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"applet": "./dist/applet.js"
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@cloudflare/vite-plugin": "^1.51.1",
|
|
49
|
+
"@fontsource-variable/geist-mono": "^5.3.0",
|
|
49
50
|
"@fontsource-variable/inter": "^5.3.0",
|
|
50
51
|
"@hey-api/openapi-ts": "0.0.0-next-20260824173136",
|
|
51
52
|
"@orpc/client": "^1.15.0",
|
|
@@ -63,6 +64,7 @@
|
|
|
63
64
|
"@tiptap/extension-table": "^3.30.3",
|
|
64
65
|
"@tiptap/extensions": "^3.30.3",
|
|
65
66
|
"@tiptap/markdown": "^3.30.3",
|
|
67
|
+
"@tiptap/pm": "^3.30.3",
|
|
66
68
|
"@tiptap/react": "^3.30.3",
|
|
67
69
|
"@tiptap/starter-kit": "^3.30.3",
|
|
68
70
|
"@vitejs/plugin-react": "^6.0.3",
|
|
@@ -157,7 +157,7 @@ If a command fails, report the exact blocker. Do not deploy as a verification st
|
|
|
157
157
|
## Deploy from GitHub
|
|
158
158
|
|
|
159
159
|
- A push to the production branch runs `applet deploy` in the workspace root through GitHub Actions.
|
|
160
|
-
- An applet deploys when its
|
|
160
|
+
- An applet deploys when its folder or a file outside `applets/` differs from its current release, including a local `applet deploy`. Uncommitted and untracked files count. Gitignored files do not count. An applet whose current release has no source hash always deploys.
|
|
161
161
|
- The deploy skips other applets and logs the reason. A skip is expected, not a failure.
|
|
162
162
|
- A schema change in Hitch alone does not trigger CI.
|
|
163
163
|
- Do not import from a sibling applet folder. The change check does not follow such imports.
|
|
@@ -15,6 +15,8 @@ import { MarkdownEditor } from "@hitch42/applet/react";
|
|
|
15
15
|
<MarkdownEditor value={value} onChange={setValue} files={hitch.files} />;
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
Pass `autoFocus` to put the cursor at the end of the text when the editor mounts. It is off by default, so the editor never takes focus from another field.
|
|
19
|
+
|
|
18
20
|
The editor uploads pasted or dropped images. It stores each image as ``.
|
|
19
21
|
|
|
20
22
|
The `files` value must supply both `upload(file)` and `download(id)`. The editor uses `download(id)` to show stored Hitch images.
|
|
@@ -45,7 +45,7 @@ Applets can be used standalone via their `.app` URL or within the Hitch shell. S
|
|
|
45
45
|
|
|
46
46
|
The organization's Hitch data is the single source of truth. An applet reads and writes that data. It does not keep its own copy.
|
|
47
47
|
|
|
48
|
-
The data layer stands on its own so that every way of using it is a client of the same thing. An applet, the `hitch` command line, an MCP server for an AI agent, an API key in a script, and an import all speak to the same objects, the same schema, and the same permissions. None of them is a bridge bolted on later.
|
|
48
|
+
The data layer stands on its own so that every way of using it is a client of the same thing. An applet, the `hitch` command line, an MCP server for an AI agent, an API key in a script, and an import all speak to the same objects, the same schema, and the same permissions. None of them is a bridge bolted on later. The CLI and applet doors are generated from the organization's own schema. The MCP door has a fixed set of record tools and reads each object's live schema at runtime with `get_object_schema`. Each one acts as the person or applet behind it, so it sees exactly what that caller may see. The result is that a person in a browser, an agent in a chat window, and a script in a terminal all work on the same records under the same rules, and each gets the interface that suits them. Software stops being one product with one screen and becomes your organizational data with many doors.
|
|
49
49
|
|
|
50
50
|
The boundary gives you:
|
|
51
51
|
|
|
@@ -12,4 +12,4 @@ jobs:
|
|
|
12
12
|
contents: read
|
|
13
13
|
id-token: write
|
|
14
14
|
# Hitch verifies the called workflow's commit SHA from the OIDC token.
|
|
15
|
-
uses: hitch-42/actions/.github/workflows/deploy.yml@
|
|
15
|
+
uses: hitch-42/actions/.github/workflows/deploy.yml@cc7ab4f6eba51b31f73b0deaef4f6b86d43dc0dd
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@import "tw-animate-css";
|
|
3
3
|
@import "shadcn/tailwind.css";
|
|
4
4
|
@import "@fontsource-variable/inter";
|
|
5
|
+
@import "@fontsource-variable/geist-mono";
|
|
5
6
|
|
|
6
7
|
@source "../../../node_modules/@hitch42/applet/dist/react.js";
|
|
7
8
|
@source "../../../node_modules/streamdown/dist/*.js";
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
@theme inline {
|
|
13
14
|
--font-heading: var(--font-sans);
|
|
14
15
|
--font-sans: "Inter Variable", sans-serif;
|
|
16
|
+
--font-mono: "Geist Mono Variable", monospace;
|
|
15
17
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
16
18
|
--color-sidebar-border: var(--sidebar-border);
|
|
17
19
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
package/dist/build-CcT-wNN9.js
DELETED