Skip to content

Commit bd2b065

Browse files
authored
Merge pull request #307 from estruyf/dev
PR for the next release
2 parents f8c631f + bc61dfb commit bd2b065

File tree

107 files changed

+6294
-1661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+6294
-1661
lines changed

.github/agents/action-creator.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: ActionCreator
3+
description: Create actions for your demos easily
4+
---
5+
6+
When you are asked to add a new action to Demo Time, you can follow the steps below to implement it
7+
correctly:
8+
9+
- [ ] Add the new action in the [Action.ts](./packages/common/src/models/Action.ts) file
10+
- [ ] Register the action in the [DemoRunner.ts](./apps/vscode-extension/src/services/DemoRunner.ts)
11+
file
12+
- Implement the action logic
13+
- [ ] Create the action template in the
14+
[getActionTemplate.ts](apps/vscode-extension/src/utils/getActionTemplate.ts)
15+
- [ ] Create the action option in the
16+
[getActionOptions.ts](apps/vscode-extension/src/utils/getActionOptions.ts)
17+
- [ ] Add the demo in the `CATEGORIZED_ACTIONS` array of the
18+
[demo.ts](apps/webviews/src/types/demo.ts) file
19+
- [ ] Register the action icon in the
20+
[actionsHelper.ts](./apps/webviews/src/utils/actionHelpers.ts#L3)
21+
- [ ] Register the required fields in the
22+
[actionHelpers.ts](./apps/webviews/src/utils/actionHelpers.ts#L118)
23+
- [ ] Register the optional fields in the
24+
[actionHelpers.ts](./apps/webviews/src/utils/actionHelpers.ts#L174)
25+
- [ ] If the fields need a custom rendering, you can do this in the
26+
[StepEditor.tsx](apps/webviews/src/components/step/StepEditor.tsx) file
27+
- [ ] Add the action in the [demo-time.schema.json](./docs/public/demo-time.schema.json#L61) file
28+
- If the action has required or optional properties, they need to be registered in the
29+
[allOf](./docs/public/demo-time.schema.json#L125) section
30+
- [ ] Make sure to document the new action in the
31+
[documentation project actions section](./docs/src/content/docs/actions)

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
"/packages/common/src/services"
2626
],
2727
"nxConsole.generateAiAgentRules": true
28-
}
28+
}

CHANGELOG.md

Lines changed: 468 additions & 370 deletions
Large diffs are not rendered by default.

LICENSE

Lines changed: 188 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,188 @@
1-
MIT License
2-
3-
Copyright (c) 2023 Elio Struyf
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
Apache License
2+
Version 2.0, January 2004
3+
4+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
5+
6+
1. Definitions.
7+
8+
"License" shall mean the terms and conditions for use, reproduction,
9+
and distribution as defined in Sections 1 through 9 of this document.
10+
11+
"Licensor" shall mean the copyright owner or entity authorized by
12+
the copyright owner that is granting the License.
13+
14+
"Legal Entity" shall mean the union of the acting entity and all
15+
other entities that control, are controlled by, or are under common
16+
control with that entity. For the purposes of this definition,
17+
"control" means (i) the power, direct or indirect, to cause the
18+
direction or management of such entity, whether by contract or
19+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
20+
outstanding shares, or (iii) beneficial ownership of such entity.
21+
22+
"You" (or "Your") shall mean an individual or Legal Entity exercising
23+
permissions granted by this License.
24+
25+
"Source" form shall mean the preferred form for making modifications,
26+
including but not limited to software source code, documentation
27+
source, and configuration files.
28+
29+
"Object" form shall mean any form resulting from mechanical
30+
transformation or translation of a Source form, including but
31+
not limited to compiled object code, generated documentation,
32+
and conversions to other media types.
33+
34+
"Work" shall mean the work of authorship, whether in Source or Object
35+
form, made available under the License, as indicated by a copyright
36+
notice that is included in or attached to the work (an example is
37+
provided in the Appendix below).
38+
39+
"Derivative Works" shall mean any work, whether in Source or Object
40+
form, that is based on (or derived from) the Work and for which the
41+
editorial revisions, annotations, elaborations, or other modifications
42+
represent, as a whole, an original work of authorship. For the purposes
43+
of this License, Derivative Works shall not include works that remain
44+
separable from, or merely link (or bind by name) to the interfaces of,
45+
the Work and Derivative Works thereof.
46+
47+
"Contribution" shall mean any work of authorship, including
48+
the original Work and any Derivative Works thereof, that is intentionally
49+
submitted to, or received by, Licensor for inclusion in the Work by the
50+
copyright owner or by an individual or Legal Entity authorized to submit
51+
on behalf of the copyright owner. For the purposes of this definition,
52+
"submitted" means any form of electronic, verbal, or written communication
53+
sent to the Licensor or its representatives, such as but not limited to
54+
communication on electronic mailing lists, source code control systems,
55+
and issue tracking systems that are managed by, or on behalf of, the
56+
Licensor for the purpose of discussing and improving the Work, but
57+
excluding communication that is conspicuously marked or otherwise
58+
designated in writing by the copyright owner as "Not a Contribution."
59+
60+
"Contributor" shall mean Licensor and any Legal Entity on behalf of
61+
whom a Contribution has been received by Licensor and subsequently
62+
incorporated within the Work.
63+
64+
2. Grant of Copyright License. Subject to the terms and conditions of
65+
this License, each Contributor hereby grants to You a perpetual,
66+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
67+
copyright license to reproduce, prepare Derivative Works of,
68+
publicly display, publicly perform, sublicense, and distribute the
69+
Work and such Derivative Works in Source or Object form.
70+
71+
3. Grant of Patent License. Subject to the terms and conditions of
72+
this License, each Contributor hereby grants to You a perpetual,
73+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
74+
(except as stated in this section) patent license to make, have made,
75+
use, offer to sell, sell, import, and otherwise transfer the Work,
76+
where such license applies only to those patent claims licensable
77+
by such Contributor that are necessarily infringed by their
78+
Contribution(s) alone or by combination of their Contribution(s)
79+
with the Work to which such Contribution(s) was submitted. If You
80+
institute patent litigation against any entity (including a
81+
cross-claim or counterclaim in a lawsuit) alleging that the Work
82+
or a Contribution incorporated within the Work constitutes direct
83+
or contributory patent infringement, then any patent licenses
84+
granted to You under this License for that Work shall terminate
85+
as of the date such litigation is filed.
86+
87+
4. Redistribution. You may reproduce and distribute copies of the
88+
Work or Derivative Works thereof in any medium, with or without
89+
modifications, and in Source or Object form, provided that You
90+
meet the following conditions:
91+
92+
(a) You must give any other recipients of the Work or
93+
Derivative Works a copy of this License; and
94+
95+
(b) You must cause any modified files to carry prominent notices
96+
stating that You changed the files; and
97+
98+
(c) You must retain, in the Source form of any Derivative Works
99+
that You distribute, all copyright, patent, trademark, and
100+
attribution notices from the Source form of the Work,
101+
excluding those notices that do not pertain to any part of
102+
the Derivative Works; and
103+
104+
(d) If the Work includes a "NOTICE" text file, then any
105+
Derivative Works that You distribute must include a readable
106+
copy of the attribution notices contained
107+
within such NOTICE file, excluding those notices that do not
108+
pertain to any part of the Derivative Works, in at least one
109+
of the following places: within a NOTICE text file distributed
110+
as part of the Derivative Works; within the Source form or
111+
documentation, if provided along with the Derivative Works; or,
112+
within a display generated by the Derivative Works, if and
113+
wherever such third-party notices normally appear. The contents
114+
of the NOTICE file are for informational purposes only and
115+
do not modify the License. You may add Your own attribution
116+
notices within Derivative Works that You distribute, alongside
117+
or as an addendum to the NOTICE from the Work, provided that
118+
such additional attribution notices cannot be construed
119+
as modifying the License.
120+
121+
You may add Your own copyright statement to Your modifications and
122+
may provide additional or different license terms and conditions
123+
for use, reproduction, or distribution of Your modifications, or
124+
for any such Derivative Works as a whole, provided Your use,
125+
reproduction, and distribution of the Work otherwise complies with
126+
the conditions of this License.
127+
128+
5. Submission of Contributions. Unless You explicitly state otherwise,
129+
any Contribution intentionally submitted for inclusion in the Work
130+
by You to the Licensor shall be under the terms and conditions of
131+
this License, without any additional terms or conditions.
132+
Notwithstanding the above, nothing herein shall supersede or modify
133+
the terms of any separate license agreement you may have executed
134+
with Licensor regarding such Contribution.
135+
136+
6. Trademarks. This License does not grant permission to use the trade
137+
names, trademarks, service marks, or product names of the Licensor,
138+
except as required for reasonable and customary use in describing the
139+
origin of the Work and reproducing the content of the NOTICE file.
140+
141+
7. Disclaimer of Warranty. Unless required by applicable law or
142+
agreed to in writing, Licensor provides the Work (and each
143+
Contributor provides its Contributions) on an "AS IS" BASIS,
144+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
145+
implied, including, without limitation, any warranties or conditions
146+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
147+
PARTICULAR PURPOSE. You are solely responsible for determining the
148+
appropriateness of using or redistributing the Work and assume any
149+
risks associated with Your exercise of permissions under this License.
150+
151+
8. Limitation of Liability. In no event and under no legal theory,
152+
whether in tort (including negligence), contract, or otherwise,
153+
unless required by applicable law (such as deliberate and grossly
154+
negligent acts) or agreed to in writing, shall any Contributor be
155+
liable to You for damages, including any direct, indirect, special,
156+
incidental, or consequential damages of any character arising as a
157+
result of this License or out of the use or inability to use the
158+
Work (including but not limited to damages for loss of goodwill,
159+
work stoppage, computer failure or malfunction, or any and all
160+
other commercial damages or losses), even if such Contributor
161+
has been advised of the possibility of such damages.
162+
163+
9. Accepting Warranty or Additional Liability. While redistributing
164+
the Work or Derivative Works thereof, You may choose to offer,
165+
and charge a fee for, acceptance of support, warranty, indemnity,
166+
or other liability obligations and/or rights consistent with this
167+
License. However, in accepting such obligations, You may act only
168+
on Your own behalf and on Your sole responsibility, not on behalf
169+
of any other Contributor, and only if You agree to indemnify,
170+
defend, and hold each Contributor harmless for any liability
171+
incurred by, or claims asserted against, such Contributor by reason
172+
of your accepting any such warranty or additional liability.
173+
174+
END OF TERMS AND CONDITIONS
175+
176+
Copyright 2025 Elio Struyf
177+
178+
Licensed under the Apache License, Version 2.0 (the "License");
179+
you may not use this file except in compliance with the License.
180+
You may obtain a copy of the License at
181+
182+
http://www.apache.org/licenses/LICENSE-2.0
183+
184+
Unless required by applicable law or agreed to in writing, software
185+
distributed under the License is distributed on an "AS IS" BASIS,
186+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
187+
See the License for the specific language governing permissions and
188+
limitations under the License.

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ directory.
125125
If you enjoy my work and find them useful, consider sponsor me and the ecosystem to help Open Source
126126
sustainable. Thank you!
127127

128+
## License
129+
130+
This project is licensed under the Apache License 2.0 - see the [LICENSE](./LICENSE) file for
131+
details.
132+
128133
<p align="center">
129134
<a href="https://github.com/sponsors/estruyf" title="Sponsor Elio Struyf" target="_blank">
130135
<img src="https://img.shields.io/badge/Sponsor-Elio%20Struyf%20%E2%9D%A4-%23fe8e86?logo=GitHub&style=flat-square" height="25px" alt="Sponsor @estruyf" />

0 commit comments

Comments
 (0)