@uidu/skills 0.6.1 → 0.6.2
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/package.json +2 -2
- package/skills/uidu/SKILL.md +15 -12
- package/skills/uidu/metadata.json +1 -1
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uidu/skills",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Agent skills for the uidu SDK — installable via the open agent skills ecosystem (skills.sh).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "uidu",
|
|
7
7
|
"repository": "https://github.com/uidu-org/api.js/tree/main/packages/skills",
|
|
8
|
-
"homepage": "https://
|
|
8
|
+
"homepage": "https://developers.uidu.org",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"files": [
|
|
11
11
|
"skills",
|
package/skills/uidu/SKILL.md
CHANGED
|
@@ -131,7 +131,10 @@ What changes the code is **who the request acts for**:
|
|
|
131
131
|
|
|
132
132
|
The write functions live in `@uidu/client`, so anything the CLI provisions you can also do
|
|
133
133
|
from a Next.js server action / route handler / RSC. **Never put the account Bearer token in a
|
|
134
|
-
browser client component.**
|
|
134
|
+
browser client component.** That covers the visitor-facing writes too — a form response, a
|
|
135
|
+
donation, an RSVP, a job application is submitted from a **server action**, never with the
|
|
136
|
+
`publicToken` from the browser. Full explanation:
|
|
137
|
+
https://developers.uidu.org/docs/foundations/authentication. Authoring mutations return a payload with an `errors` array —
|
|
135
138
|
always check it (non-empty = validation failure).
|
|
136
139
|
|
|
137
140
|
One app can mix the rows: public pages rendered on the server with `publicToken`, and a members'
|
|
@@ -700,30 +703,30 @@ reads everything in client components.
|
|
|
700
703
|
|
|
701
704
|
Every `@uidu/client` function, by domain — generated from the source, so if a function isn't
|
|
702
705
|
here it doesn't exist (yet). Domains marked "reads need Bearer" hold private data: a public token
|
|
703
|
-
sees nothing. Per-function auth, signatures and descriptions: https://
|
|
706
|
+
sees nothing. Per-function auth, signatures and descriptions: https://developers.uidu.org/docs/reference/client.
|
|
704
707
|
|
|
705
708
|
<!-- BEGIN sdk:domain-index — generated by scripts/sdk-manifest.mjs, do not edit -->
|
|
706
709
|
|
|
707
710
|
- **Client & utilities** — `createClient`, `fromBridge`, `normalizeFieldValueContent`, `normalizeFieldValuesAttributes`, `paginate`
|
|
708
711
|
- **CMS — Sites** · CLI: `sites` — `createSite`, `getPageBySlug`, `getSingletonBlock`, `getSite`, `getSiteByDomain`, `listSitePages`
|
|
709
712
|
- **CMS — Projects (legacy)** · CLI: `projects` — `createFieldValue`, `createPage`, `createPageBlock`, `createProject`, `getPage`, `getTemplate`, `listPages`, `listProjects`
|
|
710
|
-
- **Models (custom data)** — `createField`, `createFieldOption`, `createModel`, `createModelItem`, `deleteField`, `deleteFieldOption`, `deleteFieldValue`, `deleteModelItem`, `ensureModel`, `getModel`, `getModelItem`, `listModelItems`, `listModels`, `toFieldValuesAttributes`, `updateField`, `updateFieldOption`, `updateFieldValue`, `updateModel`, `updateModelItem`
|
|
711
|
-
- **Forms** · CLI: `forms` — `createForm`, `createFormResponse`, `deleteForm`, `getForm`, `listForms`, `updateForm`, `updateFormResponse`
|
|
712
|
-
- **Events** · CLI: `events`, `attendances` — `createAttendance`, `createEvent`, `getEvent`, `listEvents`, `updateEvent`
|
|
713
|
-
- **Calls** · CLI: `calls` — `getCall`, `listCalls`
|
|
714
|
-
- **Jobs & applications** · CLI: `jobs`, `applications` — `completeApplication`, `createApplication`, `getJob`, `listApplications`, `listJobs`, `updateApplication`
|
|
715
|
-
- **Donations** · CLI: `donations` — `createDonation`, `createDonationCampaign`, `deleteDonationCampaign`, `getDonationCampaign`, `listDonationCampaigns`, `updateDonationCampaign`
|
|
716
713
|
- **Stories** · CLI: `stories` — `createStory`, `getStory`, `listStories`, `updateStory`
|
|
717
714
|
- **Help center** · CLI: `channel` — `createChannel`, `deleteChannel`, `getChannel`, `listChannels`, `updateChannel`
|
|
718
715
|
- **Knowledge base** · CLI: `kb-collections`, `kb-articles` — `createKbArticle`, `createKbCollection`, `deleteKbArticle`, `deleteKbCollection`, `getKbArticle`, `getKbCollection`, `listKbArticles`, `listKbCollections`, `updateKbArticle`, `updateKbCollection`
|
|
719
716
|
- **Search** — `search`
|
|
717
|
+
- **Forms** · CLI: `forms` — `createForm`, `createFormResponse`, `deleteForm`, `getForm`, `listForms`, `updateForm`, `updateFormResponse`
|
|
718
|
+
- **Events** · CLI: `events`, `attendances` — `createAttendance`, `createEvent`, `getEvent`, `listEvents`, `updateEvent`
|
|
719
|
+
- **Donations** · CLI: `donations` — `createDonation`, `createDonationCampaign`, `deleteDonationCampaign`, `getDonationCampaign`, `listDonationCampaigns`, `updateDonationCampaign`
|
|
720
720
|
- **Courses** · CLI: `courses` — `createCourse`, `deleteCourse`, `getCourse`, `getEnrollment`, `getLecture`, `listCourses`, `listEnrollments`, `listLectures`, `updateCourse`
|
|
721
|
-
- **
|
|
722
|
-
- **
|
|
721
|
+
- **Calls** · CLI: `calls` — `getCall`, `listCalls`
|
|
722
|
+
- **Jobs & applications** · CLI: `jobs`, `applications` — `completeApplication`, `createApplication`, `getJob`, `listApplications`, `listJobs`, `updateApplication`
|
|
723
723
|
- **Contacts & deals** · reads need Bearer · CLI: `contacts`, `deals` — `createContact`, `createDeal`, `deleteContact`, `getContact`, `getDeal`, `listContacts`, `listDeals`, `updateDeal`
|
|
724
|
-
- **
|
|
724
|
+
- **Campaigns** · reads need Bearer · CLI: `campaigns` — `getCampaign`, `listCampaigns`, `listEmailCampaigns`
|
|
725
725
|
- **People (HR)** · reads need Bearer · CLI: `employees`, `employments`, `offices`, `roles`, `ccnls`, `time-clocks`, `compensations`, `benefits`, `benefit-enrollments` — `contractEvents`, `createBenefit`, `createBenefitEnrollment`, `createCcnl`, `createCompensation`, `createEmployee`, `createEmployment`, `createTimeClock`, `deleteCompensation`, `deleteEmployment`, `getEmployee`, `listCcnls`, `listCircles`, `listEmployees`, `listEmploymentHistory`, `listKinds`, `listOffices`, `listRoles`, `terminateEmployment`, `updateCompensation`, `updateEmployee`, `updateEmployment`, `weekStartFor`
|
|
726
|
+
- **Goals (OKRs)** · reads need Bearer · CLI: `goals`, `timeframes` — `getGoal`, `goalProgress`, `goalTimeElapsed`, `goalValue`, `isGoalBehind`, `listGoals`, `listTimeframes`, `toGoalRaw`, `updateGoal`
|
|
726
727
|
- **Spaces, tasks & notes** · CLI: `tasks`, `notes`, `spaces` — `createNote`, `createSpace`, `createTask`, `deleteNote`, `deleteSpace`, `deleteTask`, `updateNote`, `updateSpace`, `updateTask`
|
|
728
|
+
- **Bookings & calendars** · reads need Bearer · CLI: `bookings` — `getBooking`, `getCalendar`, `getCalendarEvent`, `listBookings`, `listCalendarEvents`, `listCalendars`
|
|
729
|
+
- **Models (custom data)** · reads need Bearer — `createField`, `createFieldOption`, `createModel`, `createModelItem`, `deleteField`, `deleteFieldOption`, `deleteFieldValue`, `deleteModelItem`, `ensureModel`, `getModel`, `getModelItem`, `listModelItems`, `listModels`, `toFieldValuesAttributes`, `updateField`, `updateFieldOption`, `updateFieldValue`, `updateModel`, `updateModelItem`
|
|
727
730
|
- **Provisioning & actions** — `createWorkspace`, `executeAction`, `generateWorkspaceApiCredentials`
|
|
728
731
|
|
|
729
732
|
<!-- END sdk:domain-index -->
|
|
@@ -740,7 +743,7 @@ sees nothing. Per-function auth, signatures and descriptions: https://docs.uidu.
|
|
|
740
743
|
|
|
741
744
|
## See Also
|
|
742
745
|
|
|
743
|
-
- uidu docs: https://
|
|
746
|
+
- uidu docs: https://developers.uidu.org
|
|
744
747
|
- Source: https://github.com/uidu-org/api.js
|
|
745
748
|
- `@uidu/client`: https://github.com/uidu-org/api.js/tree/main/packages/client
|
|
746
749
|
- `@uidu/react`: https://github.com/uidu-org/api.js/tree/main/packages/react
|