@timqi/pier 0.0.8 → 0.0.15
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 +26 -9
- package/dist/agent/events.js +53 -7
- package/dist/agent/listing.js +253 -0
- package/dist/agent/pi.js +279 -32
- package/dist/boards/boards.js +65 -16
- package/dist/boards/pier.css +1 -1
- package/dist/channels/attach.js +87 -0
- package/dist/channels/control.js +2 -2
- package/dist/channels/conversations.js +10 -0
- package/dist/channels/lark-api.js +38 -0
- package/dist/channels/lark-outbound.js +11 -2
- package/dist/channels/slack-api.js +36 -0
- package/dist/channels/slack-outbound.js +12 -2
- package/dist/channels/slack-tool.js +49 -9
- package/dist/channels/telegram-api.js +21 -2
- package/dist/channels/telegram.js +23 -8
- package/dist/cli.js +34 -0
- package/dist/core/identity.js +18 -0
- package/dist/core/inbound-file.js +3 -1
- package/dist/core/reply.js +2 -1
- package/dist/core/router.js +99 -11
- package/dist/db.js +87 -0
- package/dist/extensions/index.js +37 -0
- package/dist/extensions/web/anthropic.js +118 -0
- package/dist/extensions/web/artifacts.js +62 -0
- package/dist/extensions/web/content.js +130 -0
- package/dist/extensions/web/http.js +106 -0
- package/dist/extensions/web/index.js +9 -0
- package/dist/extensions/web/json.js +5 -0
- package/dist/extensions/web/language.js +47 -0
- package/dist/extensions/web/openai.js +112 -0
- package/dist/extensions/web/provider.js +121 -0
- package/dist/extensions/web/tools.js +304 -0
- package/dist/limits.js +14 -0
- package/dist/main.js +76 -10
- package/dist/paths.js +21 -1
- package/dist/settings.js +112 -13
- package/dist/tasks/agent.js +18 -4
- package/dist/tasks/callbacks.js +20 -1
- package/dist/tasks/definitions.js +56 -12
- package/dist/tasks/execution.js +5 -1
- package/dist/tasks/groups.js +4 -4
- package/dist/tasks/messages.js +4 -2
- package/dist/tasks/runs.js +2 -2
- package/dist/tasks/service.js +16 -6
- package/dist/tasks/tool.js +0 -12
- package/dist/tools-task.js +155 -0
- package/dist/tools.js +875 -0
- package/dist/web/auth.js +5 -3
- package/dist/web/explorer.js +15 -2
- package/dist/web/files.js +1 -1
- package/dist/web/instance.js +175 -22
- package/dist/web/providers.js +16 -0
- package/dist/web/public/assets/{ghostty-web-CcIc8O2I.js → ghostty-web-xcUrfRRs.js} +1 -1
- package/dist/web/public/assets/index-BWDlAMK2.js +93 -0
- package/dist/web/public/assets/index-DHqZnZr7.css +2 -0
- package/dist/web/public/index.html +5 -8
- package/dist/web/public/sw.js +4 -0
- package/dist/web/push.js +33 -9
- package/dist/web/repos.js +75 -0
- package/dist/web/server.js +170 -52
- package/dist/web/session-state.js +57 -44
- package/dist/web/terminal.js +34 -4
- package/dist/web/types.js +5 -0
- package/package.json +1 -1
- package/skills/pier-boards/SKILL.md +23 -13
- package/skills/pier-help/SKILL.md +1 -1
- package/skills/pier-slack/SKILL.md +21 -1
- package/skills/pier-tasks/SKILL.md +2 -2
- package/dist/web/public/assets/index-DmDJKOLH.js +0 -90
- package/dist/web/public/assets/index-gcSJ9QZ5.css +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pier-help
|
|
3
|
-
description: How Pier itself works — durable sessions
|
|
3
|
+
description: How Pier itself works — durable sessions, what survives a restart, how messages and files reach you from IM, in-chat commands, and what only the operator's Console can change. Read before explaining Pier's behavior or advising a user on it.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# How Pier works
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pier-slack
|
|
3
|
-
description: Read and write Slack through Pier's slack tool
|
|
3
|
+
description: Read and write Slack through Pier's slack tool, including the Slack-specific syntax for mentions and links. Read before answering questions about Slack conversations or posting anything to a workspace.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Reading and writing Slack
|
|
@@ -97,6 +97,26 @@ Going top-level takes the explicit `"none"`: a channel's main flow is wider
|
|
|
97
97
|
than a thread. A `thread_ts` is never inherited across a change of `channel`.
|
|
98
98
|
The response carries `ts` and `threadTs` for replying under what you posted.
|
|
99
99
|
|
|
100
|
+
## Editing
|
|
101
|
+
|
|
102
|
+
```json
|
|
103
|
+
{"operation":"edit","channel":"#ops","ts":"1717243800.000100",
|
|
104
|
+
"text":"**Deploy done** — 3 services, 1 rollback."}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
`text` replaces the message outright; there is no partial edit. Read the
|
|
108
|
+
message first if you are changing part of it.
|
|
109
|
+
|
|
110
|
+
- Slack only lets Pier edit what **its own bot** posted — anyone else's message
|
|
111
|
+
answers `cant_update_message`, and the answer is to reply, not to retry.
|
|
112
|
+
- `ts` is always explicit, as with `delete`, and means nothing outside the
|
|
113
|
+
channel it was read in.
|
|
114
|
+
- The old text is gone — Slack keeps no version a reader can open, and may not
|
|
115
|
+
mark the message as edited at all. When the previous wording mattered to
|
|
116
|
+
people reading, say what changed rather than quietly rewriting history.
|
|
117
|
+
- A long-running update — a status line, a running tally — is better as one
|
|
118
|
+
message edited in place than as a new message per change.
|
|
119
|
+
|
|
100
120
|
## Deleting
|
|
101
121
|
|
|
102
122
|
```json
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pier-tasks
|
|
3
|
-
description: Delegate work to Pier subagents with the task tool — one-shot
|
|
3
|
+
description: Delegate work to Pier subagents with the task tool — one-shot, parallel fan-out, chains, mid-run control. Read before delegating to a subagent, coordinating agents, or running long background work.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Orchestrating Pier tasks
|
|
@@ -38,7 +38,7 @@ schedule policy, where `manual` means on-demand — by a human or by you.
|
|
|
38
38
|
- The child inherits your current model unless `launch.model` is set.
|
|
39
39
|
Unknown models fail with the available list in the error. `launch` applies to
|
|
40
40
|
`fresh` and `fork` only — a `reuse` session owns its own model and tools.
|
|
41
|
-
- The child has the same tools you do
|
|
41
|
+
- The child has the same tools you do.
|
|
42
42
|
- Runs time out after 900s by default; set `timeoutSeconds` in the draft for
|
|
43
43
|
longer jobs.
|
|
44
44
|
|